FunctionSignature
Defines a function signature for a C-level caller.
To be used inside SharedLibraryFunction and things to manage the core interface.
__init__(self, name, *args, defaults=None, return_type=None):
name:strthe name of the function
args:Iterable[ArgumentType]the arguments passed to the function
return_type:ArgumentType | Nonethe return type of the function
@classmethod
construct(cls, name, defaults=None, return_type=None, **args):
build_argument(self, argtup, which=None):
Converts an argument tuple into an Argument object
argtup:Any:returns:_
@property
args(self):
@property
return_argtype(self):
@property
return_type(self):
@property
arg_types(self):
@property
cpp_signature(self):
populate_kwargs(self, args, kwargs, defaults=None):
prep_args(self, args, kwargs, defaults=None):
__repr__(self):