Gentee Programming Language > Documentation > Launch | Download documentation |
This function allows to compile programs in Gentee.
DWORD WINAPI ge_compile( BYTE* filename, BYTE* fileout, sbcode* bcode, DWORD cflag, BYTE* args )
filename Filename for compilation. As this parameter, you can specify text of the program to be compiled. At that, the text should begin with the name of the program, enclosed in angle brackets: <Program_name>. fileout Filename for recording the resulting bytecode. If “0,” filing will not be performed. bcode Structure pointer sbcode. If not “0,” the structure will contain the resulting bytecode, which can be loaded by ge_load or filed. After finishing the work, delete the bytecode with the help of the function ge_freebcode.
Fieldstype sbcode { uint data uint size byte reserved[ 9 ] } data Resulting bytecode pointer. size Bytecode’s size. cflag Compilation flags. COMPILE_NOSTD Do not link the standard library. args args,Compiler’s arguments. They are intended for detecting macros from the command line. Macros should be separated by semicolon. This parameter may equal zero.
Nonzero if initialization was successful; otherwise 0.
See also![]() |
![]() Copyright © 2004-2006 Gentee Inc. All rights reserved. ![]() |