Define epicsExportRegistrar

Define Documentation

epicsExportRegistrar(fun)

Declare a registrar function for exporting.

The epicsExportRegistrar() macro must be used to declare a registrar function that is named in a DBD registrar statement. For example:

static void myRegistrar(void) {
    ...
}
epicsExportRegistrar(myRegistrar);

Note

C++ code needs to wrap with

extern "C" { } 

Parameters
  • fun – Registrar function’s name.