Foreign Language Interface
[
Front page
|
List of pages
|
Search
|
Recent changes
|
Backup
|
Help
]
Start:
//[[Documentation]]
SLIM allows LMNtal programs to call C functions.
*Foreign-Language Interface in SLIM
SLIM allows LMNtal programs to call functions written in C. An LMNtal atom
>'$callback'('''function_name''', '''arg1''', '''arg2''', ...)
calls the C function '''function_name''' with the specified arguments. Examples of callbacks can be found in the library programs located in the $LMNTAL_HOME/lib directory, and the corresponding C functions can be found in the $LMNTAL_HOME/src/ext directory.
End:
//[[Documentation]]
SLIM allows LMNtal programs to call C functions.
*Foreign-Language Interface in SLIM
SLIM allows LMNtal programs to call functions written in C. An LMNtal atom
>'$callback'('''function_name''', '''arg1''', '''arg2''', ...)
calls the C function '''function_name''' with the specified arguments. Examples of callbacks can be found in the library programs located in the $LMNTAL_HOME/lib directory, and the corresponding C functions can be found in the $LMNTAL_HOME/src/ext directory.
Page: