dryos:stubs:register_func
register_func
int register_func(char* pName, void* pFunction, uint staticArg)
Description: registers a function pointer in a way so it can be called by name. Once a function is registred it can be executed from EventShell (UART), Canon Basic or by calling it via ExecuteEventProcedure function.
Parameters:
- pName: The desired name of the function
- pFunction: function address
- staticArg: a constant argument which is always provided as second argument when the function is called by name.
dryos/stubs/register_func.txt · Last modified: 2021/02/24 23:51 by coon