Top-level C function declaration
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Top-level C function declaration
If you use the FUNCTEST macro provided in the prototype
hlprodsp.c file, your top-level function must use the following syntax:
Syntax
|
The length and content of the function name must follow the conventions that your C compiler
and linker require. The argc and argv parameters
follow the rules defined for argc and argv passed by
the standard main() C function. If your top-level function must use a
different interface, either write alternative dispatch code for it or rewrite FUNCTEST to
meet your particular needs.
For more information on the FUNCTEST macro, see Map routine identifiers using PRODSP().