Patch 1560983.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9452 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
56904f30d0
commit
dc46fc0cc0
2 changed files with 11 additions and 8 deletions
|
|
@ -1,16 +1,19 @@
|
||||||
Version 1.3.30 (in progress)
|
Version 1.3.30 (in progress)
|
||||||
============================
|
============================
|
||||||
|
|
||||||
|
10/15/2006: efuzzyone
|
||||||
|
[CFFI] Suppress generating defctype for enums, thanks to Arthur Smyles. Patch 1560983.
|
||||||
|
|
||||||
10/14/2006: wuzzeb (John Lenz)
|
10/14/2006: wuzzeb (John Lenz)
|
||||||
[Chicken] Minor fix to make SWIG work with the (as yet unreleased) chicken 2.5
|
[Chicken] Minor fix to make SWIG work with the (as yet unreleased) chicken 2.5
|
||||||
|
|
||||||
[Guile,Chicken] Fix SF Bug 1573892. Added an ext_test to the test suite to test
|
[Guile,Chicken] Fix SF Bug 1573892. Added an ext_test to the test suite to test
|
||||||
this bug, but this test can not really be made generic because the external code must
|
this bug, but this test can not really be made generic because the external code must
|
||||||
plug into the target language interpreter directly.
|
plug into the target language interpreter directly.
|
||||||
See Examples/test-suite/chicken/ext_test.i and ext_test_external.cxx
|
See Examples/test-suite/chicken/ext_test.i and ext_test_external.cxx
|
||||||
|
|
||||||
Added a %.externaltest to common.mk, and any interested language modules can
|
Added a %.externaltest to common.mk, and any interested language modules can
|
||||||
copy and slightly modify either the chicken or the guile ext_test.i
|
copy and slightly modify either the chicken or the guile ext_test.i
|
||||||
|
|
||||||
10/14/2006: mgossage
|
10/14/2006: mgossage
|
||||||
[Lua] added OUTPUT& for all number types, added a long long type
|
[Lua] added OUTPUT& for all number types, added a long long type
|
||||||
|
|
|
||||||
|
|
@ -550,7 +550,7 @@ int CFFI :: variableWrapper(Node *n) {
|
||||||
}
|
}
|
||||||
|
|
||||||
int CFFI :: typedefHandler(Node *n) {
|
int CFFI :: typedefHandler(Node *n) {
|
||||||
if(generate_typedef_flag) {
|
if(generate_typedef_flag && strncmp(Char(Getattr(n,"type")),"enum",4)) {
|
||||||
String *lisp_name = lispify_name(n,Getattr(n,"name"),"'typename");
|
String *lisp_name = lispify_name(n,Getattr(n,"name"),"'typename");
|
||||||
Printf(f_cl,"\n(cffi:defctype %s %s)\n",
|
Printf(f_cl,"\n(cffi:defctype %s %s)\n",
|
||||||
lisp_name,
|
lisp_name,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue