From ded22097ab207c6fa7c86ad04aa44c0c579b98dc Mon Sep 17 00:00:00 2001 From: Surendra Singhi Date: Wed, 3 May 2006 06:47:08 +0000 Subject: [PATCH] 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 --- SWIG/Source/Modules/cffi.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/SWIG/Source/Modules/cffi.cxx b/SWIG/Source/Modules/cffi.cxx index d14d2b139..0f43e0c27 100644 --- a/SWIG/Source/Modules/cffi.cxx +++ b/SWIG/Source/Modules/cffi.cxx @@ -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)