emacs-devel
[Top][All Lists]
Advanced

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

Re: implementing curl module with opaque emacs types


From: Eli Zaretskii
Subject: Re: implementing curl module with opaque emacs types
Date: Sun, 15 Feb 2015 21:47:08 +0200

> From: Stephen Leake <address@hidden>
> Date: Sun, 15 Feb 2015 13:27:40 -0600
> 
> Here is the list of Emacs functions that curl.c currently uses
> 
>     Fprovide
>     SSDATA
>     XSAVE_POINTER
>     builtin_lisp_symbol (for Qnil)
>     defsubr
>     intern
>     make_string

It also uses XSAVE_VALUE (called by XSAVE_POINTER) and save_type and
die, indirectly via eassert, when ENABLE_CHECKING is defined.

Btw, its use of make_string is incorrect: it should use
make_unibyte_string string and then decode it.  Which will require
more functions.  Likewise with SSDATA: the string that is used as a
URL should be encoded before it is passed to libcurl functions.



reply via email to

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