slidge_whatsapp.generated.build#
Attributes#
Classes#
Class that generates a wrapper to a C function. |
Functions#
|
|
|
Module Contents#
- class slidge_whatsapp.generated.build.CheckedFunction(*a, **kw)[source]#
Bases:
pybindgen.Function
Class that generates a wrapper to a C function.
- Parameters:
function_name – name of the C function
return_value (L{ReturnValue}) – the function return value
parameters (list of L{Parameter}) – the function parameters
custom_name – an alternative name to give to this function at python-side; if omitted, the name of the function in the python module will be the same name as the function in C++ (minus namespace).
deprecated – deprecation state for this API: - False: Not deprecated - True: Deprecated - “message”: Deprecated, and deprecation warning contains the given message
foreign_cpp_namespace – if set, the function is assumed to belong to the given C++ namespace, regardless of the C++ namespace of the python module it will be added to.
throw (list of L{CppException}) – list of C++ exceptions that the function may throw
- slidge_whatsapp.generated.build.add_checked_function(mod, name, retval, params, failure_expression='', *a, **kw)[source]#