File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -142,18 +142,18 @@ Though convenient it is many orders of magnitude slower than simply calling the
142
142
``` python
143
143
Type.int(4 ) # Creates a 4 byte signed integer
144
144
Type.int(8 , False ) # Creates an 8 bytes unsigned integer
145
- Type.int(2 , altName = " short" ) # Creates a 2 byte signed integer named 'short'
145
+ Type.int(2 , alternate_name = " short" ) # Creates a 2 byte signed integer named 'short'
146
146
# Similarly through their classes directly
147
147
IntegerType.create(4 )
148
148
IntegerType.create(8 , False )
149
- IntegerType.create(2 , altName = " short" )
149
+ IntegerType.create(2 , alternate_name = " short" )
150
150
```
151
151
152
152
#### Character Types
153
153
154
154
``` python
155
155
Type.char() # This is just a 1 byte signed integer and can be used as such
156
- Type.wideChar (2 , altName = " wchar_t" ) # Creates a wide character with the name 'wchar_t'
156
+ Type.wide_char (2 , alternate_name = " wchar_t" ) # Creates a wide character with the name 'wchar_t'
157
157
# Similarly through their classes directly
158
158
CharType.create()
159
159
WideCharType.create(2 )
You can’t perform that action at this time.
0 commit comments