Re: [Pyobjc-dev] caution with BOOL parameters
Brought to you by:
ronaldoussoren
From: <bo...@pa...> - 2003-03-01 21:08:35
|
i see, you mean _C_CHR is used when an objc method has a unadorned char in the signature. why not define "_C_BOOL", which is special-cased in the pythonify/ depythonify routines to handled any range of integer, strings, None/not None, etc., akin _C_[U]LNGLNG. --bob On Saturday, March 1, 2003, at 12:18 PM, Ronald Oussoren wrote: > > On Saturday, Mar 1, 2003, at 20:56 Europe/Amsterdam, Bob Pasker wrote: > >> this begs the question: in pyobjc, is the 'c' in a method signature >> ONLY used for BOOL types? > Nope, 'c' is used for 'char', hence the _C_CHR ;-) ;-). |