patch #2079381 submitted by Boris Smilga - constant exprs put into no-eval context in DEFCENUM
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10807 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ee2b86e8e1
commit
907171735f
2 changed files with 5 additions and 1 deletions
|
|
@ -1,6 +1,10 @@
|
|||
Version 1.3.37 (in progress)
|
||||
=============================
|
||||
|
||||
2008-09-01: wsfulton
|
||||
[CFFI] Commit patch #2079381 submitted by Boris Smilga - constant exprs put into
|
||||
no-eval context in DEFCENUM
|
||||
|
||||
2008-09-01: wsfulton
|
||||
[C#] Correct array bounds checking in std::vector typemaps - Insert and InsertRange
|
||||
methods.
|
||||
|
|
|
|||
|
|
@ -630,7 +630,7 @@ int CFFI::enumDeclaration(Node *n) {
|
|||
else {
|
||||
String *type = Getattr(c, "type");
|
||||
String *converted_value = convert_literal(value, type);
|
||||
Printf(f_cl, "\n\t(%s %s)", slot_name, converted_value);
|
||||
Printf(f_cl, "\n\t(%s #.%s)", slot_name, converted_value);
|
||||
Delete(converted_value);
|
||||
}
|
||||
Delete(value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue