emacs-devel
[Top][All Lists]
Advanced

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

implementing curl module with opaque emacs types


From: Stephen Leake
Subject: implementing curl module with opaque emacs types
Date: Sun, 15 Feb 2015 13:27:40 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (windows-nt)

Stephen Leake <address@hidden> writes:

> So let's take a stab at something closer to your approach.
>
> I'm not familiar with the idioms for making an opaque type in C; would
> that just be a pointer to void? something like:
>
> typedef void*  Lisp_Object_Ptr;

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

We can either implement these in a new version of emacs_module_api.h/.c,
or rewrite curl.c to not use them.

-- 
-- Stephe



reply via email to

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