mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Fix enum handling in modpython callbacks params.
This commit is contained in:
committed by
Kyle Fuller
parent
b2d8f2ed62
commit
289cfa5eff
@@ -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