25.12.2017, 06:46
Из доков по языку:
"The compiler is a stand-alone program. If you want to link it to an application, can compile the sources with the macro definition NO_MAIN. This will strip the “main” function and a set of I/O functions from the program. See the section “Embedding the compiler into an application” (below) for details."
"NO MAIN Remove main() and I/O functions from the program."
"When you want to link the pawn compiler into an application, you will have to strip the “main” function from it (see the NO_MAIN option above). But that is just a first step. In addition, you should:
⋄ Attend to the pollution of the global namespace by the many, many functions and global variables of the pawn compiler.
⋄ Overrule the functions that the pawn compiler calls for input/output."
"The compiler is a stand-alone program. If you want to link it to an application, can compile the sources with the macro definition NO_MAIN. This will strip the “main” function and a set of I/O functions from the program. See the section “Embedding the compiler into an application” (below) for details."
"NO MAIN Remove main() and I/O functions from the program."
"When you want to link the pawn compiler into an application, you will have to strip the “main” function from it (see the NO_MAIN option above). But that is just a first step. In addition, you should:
⋄ Attend to the pollution of the global namespace by the many, many functions and global variables of the pawn compiler.
⋄ Overrule the functions that the pawn compiler calls for input/output."