emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking Emacs with libxml2


From: Lars Magne Ingebrigtsen
Subject: Re: Linking Emacs with libxml2
Date: Fri, 10 Sep 2010 00:37:30 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> 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?

To copy the contents of a buffer over to a C string?

I'm not familiar enough with the Emacs internals to know what's really
going on.  Is SDATA(lisp_string) a C string using (kinda) utf-8
representation these days?

Hm.  I guess so.  I'll change the html-parse-buffer function into a
html-parse-string function instead.

-- 
(domestic pets only, the antidote for overdose, milk.)
  address@hidden * Lars Magne Ingebrigtsen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]