Removed -extern-all option which was not present, and fixed exporting of variable names.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9069 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
adf30f10a2
commit
ded22097ab
1 changed files with 1 additions and 5 deletions
|
|
@ -67,9 +67,6 @@ void CFFI :: main(int argc, char *argv[]) {
|
|||
if (!Strcmp(argv[i], "-help")) {
|
||||
Printf(stdout, "cffi Options (available with -cffi)\n");
|
||||
Printf(stdout,
|
||||
" -extern-all\n"
|
||||
"\t If this option is given then cffi definitions for all the functions\n"
|
||||
"will be created otherwise only definitions for externed functions are created.\n"
|
||||
" -generate-typedef\n"
|
||||
"\t If this option is given then defctype will be used to generate shortcuts\n"
|
||||
"according to the typedefs in the input.\n"
|
||||
|
|
@ -455,7 +452,7 @@ int CFFI :: variableWrapper(Node *n) {
|
|||
|
||||
Delete(lisp_type);
|
||||
|
||||
emit_export(n, var_name);
|
||||
emit_export(n, lisp_name);
|
||||
return SWIG_OK;
|
||||
}
|
||||
|
||||
|
|
@ -531,7 +528,6 @@ void CFFI :: emit_struct_union(Node *n, bool un=false) {
|
|||
Printf(stderr, " (name: %s)\n", name);
|
||||
SWIG_exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
name = lispify_name(n, name, "'classname");
|
||||
|
||||
if(un)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue