Fix enum handling in modpython callbacks params.
This commit is contained in:
1 parent
b2d8f2ed62
commit
289cfa5eff
1 file changed
+3
@@ -279,6 +279,9 @@ while (<$in>) {
|
||||
when ('bool') {
|
||||
say $out "Py_BuildValue(\"l\", (long int)$a->{var});";
|
||||
}
|
||||
when (/^E/) {
|
||||
say $out "Py_BuildValue(\"i\", (int)$a->{var});";
|
||||
}
|
||||
default {
|
||||
my %letter = (
|
||||
'int' => 'i',
|
||||
|
||||
Reference in new issue
Block a user