Skip to content

Commit 7a78350

Browse files
committed
With wxPython, constants are always 'int'.
1 parent caba886 commit 7a78350

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

etgtools/cffi/variable.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ def print_pycode(self, pyfile, indent=0):
3434
class GlobalVariable(VariableBase):
3535
PREFIX = 'cffigvar'
3636

37-
# Defines are identical to global variables except they're always ``long long``
37+
# Defines are identical to global variables except they're always ``int``
3838
class Define(GlobalVariable):
3939
PREFIX = 'cffidefine'
4040
def __init__(self, define, parent):
4141
super(Define, self).__init__(define, parent)
42-
self.type = 'const long long'
42+
self.type = 'const int'
4343

4444
def setup(self):
4545
self.type = TypeInfo(self.parent, self.type, self.flags)

0 commit comments

Comments
 (0)