Applied the patch by Roger Sen Montero to add the :name option in the
ffi:def-c-var definition. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8074 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b3fddd1908
commit
fef7bcfeef
1 changed files with 1 additions and 1 deletions
|
|
@ -221,7 +221,7 @@ int CLISP :: variableWrapper(Node *n) {
|
|||
|
||||
String *var_name=Getattr(n, "sym:name");
|
||||
String *lisp_type=get_ffi_type(Getattr(n, "type"));
|
||||
Printf(f_cl,"\n(ffi:def-c-var %s\n (:type %s)\n",var_name,lisp_type);
|
||||
Printf(f_cl,"\n(ffi:def-c-var %s\n (:name \"%s\")\n (:type %s)\n",var_name,var_name,lisp_type);
|
||||
Printf(f_cl, "\t(:library +library-name+))\n");
|
||||
Append(entries,var_name);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue