mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
fixed SetEventParameter() signature: removed unneccesary length arg.
This commit is contained in:
parent
8edfc542f0
commit
43c2de230d
3 changed files with 18 additions and 9 deletions
|
@ -34,6 +34,12 @@ EventTypeSpec_ptr = OpaqueType("EventTypeSpec", "EventTypeSpec")
|
|||
void_ptr = stringptr
|
||||
# here are some types that are really other types
|
||||
|
||||
class MyVarInputBufferType(VarInputBufferType):
|
||||
def passInput(self, name):
|
||||
return "%s__len__, %s__in__" % (name, name)
|
||||
|
||||
MyInBuffer = MyVarInputBufferType('char', 'long', 'l') # (buf, len)
|
||||
|
||||
EventTime = double
|
||||
EventTimeout = EventTime
|
||||
EventTimerInterval = EventTime
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue