Sack Library Documentation
|
#define SimpleRegisterMethod(r,proc,rt,name,args) RegisterFunctionExx(r,NULL,name,rt,(PROCEDURE)proc,args,NULL,NULL ) #define __DefineRegistryMethodP(priority,task,name,classtype,classbase,methodname,returntype,argtypes,line) \ ___DefineRegistryMethodP(priority,task,name,classtype,classbase,methodname,returntype,argtypes,line)
Parameters |
Description |
returntype |
the literal type of the return type of this function (void, int, PStruct* ) |
methodname |
name of the routine to register |
line |
this is usually filled with __LINE__ so that the same function name (name) will be different in different files (even in the same file) |
argtypes |
Argument signature of the routine in parenthesis |
task |
process level name registry. This would be "Intershell" or "psi" or some other base prefix. The prefix can contain a path longer than 1 level. |
priority |
The preload priority to load at. |
classtype |
class of the name being registered |
name |
This is the function name to build. (Can be used for link debugging sometimes) |
This is macro sack::app::registry::SimpleRegisterMethod.
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|