On Mon, May 3, 2010 at 6:03 PM, Matthew Mondor <mm_lists@pulsar-zone.net> wrote:
On Mon, 03 May 2010 06:57:29 -0500
Seth Burleigh <seth@tewebs.com> wrote:

> Woops, i even typed in incorrect code, but the idea is correct. Also, if
> it were possible to do this, it would also have to be possible to call
> the lisp functions by creating something which maps the lisp function
> calls in the c/c++ code to the obfuscated names.

Note that the obfuscated C symbols generated from Lisp code does not
prevent C code from invoking them; i.e. it's possible to use from C
code: cl_object obj = funcall(nargs, @functionsymbol, ...);

Be careful because Seth stated that he does not want to call the C functions that are used for lisp. He wants to call functions that take as arguments ordinary C types (structures, pointers, integers, etc) and which automatically convert the arguments of these functions to lisp, that acting as proxy for the real lisp functions. That is the definition of a callback.

Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)