watosar
Jul 09, 2018 - 15:41
from objc_util import *
def foo_bar(_self,_cmd):
baz = c_int()
return baz
foo=create_objc_class('foo',methods=[foo_bar])
foo = foo.alloc()
foo.bar.restype = c_int
print('out',foo.bar())
This returned
out None
I couldn’t found what I have to do.
Please teach me.