Using GCL documentation example:
==== foo.lisp
(defentry joe (string int) (char "our_c_fun"))
====
Compile by:
gcl -eval '(compile-file "foo.lisp" :h-file t)'
Result of foo.h:
====
static void L1();
char our_c_fun(char *,int);
static void * VVi[1]={
#define Cdata VV[0]
(void *)(L1)
};
#define VV (VVi)
====
(However, the documentation suggests in the past, extra "clines" is
needed?)
- Qian
On 11/18/23 20:54, Waldek Hebisch wrote:
On Sat, Nov 18, 2023 at 08:42:23PM +0800, Qian Yun wrote:
I'm pretty sure GCL's 'defentry' will automatically generate
declarations.
AFAIK there is an option to save generated C file. Looking there
would give definite answer.
--
You received this message because you are subscribed to the Google Groups "FriCAS -
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/d09fdd1b-045c-40b9-a9fb-b4da810e0547%40gmail.com.