User Tools

Site Tools


dryos:stubs:register_func

This is an old revision of the document!


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.1614207024.txt.gz · Last modified: 2021/02/24 23:50 by coon