[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Linking Emacs with libxml2
From: |
Stefan Monnier |
Subject: |
Re: Linking Emacs with libxml2 |
Date: |
Fri, 10 Sep 2010 00:28:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>> Of course, even better would be passing the buffer text as 2 byte arrays
>> without copying it into a string.
> How would one do that?
You'd have to check the libxml2 API. On the Emacs side, the buffer is
just made of two char* chunks.
> Like in my original code, just copying it over to a C string?
That would defeat the purpose: if you do the copying, then you might as
well do it into an Elisp string so it can be more flexible.
> Or is there a convenience function to do that?
To do what?
Stefan
- Re: Linking Emacs with libxml2, (continued)
- Re: Linking Emacs with libxml2, Andreas Schwab, 2010/09/08
- Re: Linking Emacs with libxml2, Lars Magne Ingebrigtsen, 2010/09/08
- Re: Linking Emacs with libxml2, Lars Magne Ingebrigtsen, 2010/09/08
- Re: Linking Emacs with libxml2, Lars Magne Ingebrigtsen, 2010/09/08
- Re: Linking Emacs with libxml2, Andreas Schwab, 2010/09/08
- Re: Linking Emacs with libxml2, Lars Magne Ingebrigtsen, 2010/09/08
- Re: Linking Emacs with libxml2, Stefan Monnier, 2010/09/09
- Re: Linking Emacs with libxml2, Lars Magne Ingebrigtsen, 2010/09/09
- Re: Linking Emacs with libxml2,
Stefan Monnier <=
- Re: Linking Emacs with libxml2, Lars Magne Ingebrigtsen, 2010/09/09
- Re: Linking Emacs with libxml2, Andreas Schwab, 2010/09/10
- Re: Linking Emacs with libxml2, Stefan Monnier, 2010/09/10
- Re: Linking Emacs with libxml2, Lars Magne Ingebrigtsen, 2010/09/10
- Re: Linking Emacs with libxml2, Lars Magne Ingebrigtsen, 2010/09/10
- Re: Linking Emacs with libxml2, Lars Magne Ingebrigtsen, 2010/09/10
- Re: Linking Emacs with libxml2, Lars Magne Ingebrigtsen, 2010/09/10
- Re: Linking Emacs with libxml2, Ted Zlatanov, 2010/09/10
- Re: Linking Emacs with libxml2, Lars Magne Ingebrigtsen, 2010/09/10
- Re: Linking Emacs with libxml2, Glenn Morris, 2010/09/10