Define epicsRegisterFunction

Define Documentation

epicsRegisterFunction(fun)

Declare and register a function for exporting.

The epicsRegisterFunction() macro must be used to declare and register a function that is named in a DBD function statement and called by one or more subroutine or aSub records. For example:

epicsRegisterFunction(mySubInit);
epicsRegisterFunction(mySubProcess);

Note

C++ code needs to wrap with

extern "C" { } 

Parameters
  • fun – Function’s name