fixed SetEventParameter() signature: removed unneccesary length arg.

This commit is contained in:
Just van Rossum 2002-01-03 20:45:47 +00:00
parent 8edfc542f0
commit 43c2de230d
3 changed files with 18 additions and 9 deletions

View file

@ -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