diff options
author | johnvg | 2003-12-15 15:23:00 +0000 |
---|---|---|
committer | johnvg | 2003-12-15 15:23:00 +0000 |
commit | 8d277d3f6cd3c101325ee62d996448e49f52e488 (patch) | |
tree | f14b4eecdbcb78d8f9cd13ed5f7eeb98c3bc4fbe | |
parent | add BEInsertForeignExport (diff) |
add BEInsertForeignExport
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1435 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
-rw-r--r-- | backend/backend.dcl | 2 | ||||
-rw-r--r-- | backend/backend.icl | 6 | ||||
-rw-r--r-- | backendC/CleanCompilerLib.mcp.exp | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/backend/backend.dcl b/backend/backend.dcl index c12e640..263effc 100644 --- a/backend/backend.dcl +++ b/backend/backend.dcl @@ -277,6 +277,8 @@ BEExportFunction :: !Int !BackEnd -> BackEnd; // void BEExportFunction (int functionIndex); BEDefineImportedObjsAndLibs :: !BEStringListP !BEStringListP !BackEnd -> BackEnd; // void BEDefineImportedObjsAndLibs (BEStringListP objs,BEStringListP libs); +BEInsertForeignExport :: !BESymbolP !BackEnd -> BackEnd; +// void BEInsertForeignExport (BESymbolP symbol_p); BESetMainDclModuleN :: !Int !BackEnd -> BackEnd; // void BESetMainDclModuleN (int main_dcl_module_n_parameter); BEStrictPositions :: !Int !BackEnd -> (!Int,!Int,!BackEnd); diff --git a/backend/backend.icl b/backend/backend.icl index 040f5af..a011279 100644 --- a/backend/backend.icl +++ b/backend/backend.icl @@ -758,6 +758,12 @@ BEDefineImportedObjsAndLibs a0 a1 a2 = code { } // void BEDefineImportedObjsAndLibs (BEStringListP objs,BEStringListP libs); +BEInsertForeignExport :: !BESymbolP !BackEnd -> BackEnd; +BEInsertForeignExport a0 a1 = code { + ccall BEInsertForeignExport "I:V:I" +} +// void BEInsertForeignExport (BESymbolP symbol_p); + BESetMainDclModuleN :: !Int !BackEnd -> BackEnd; BESetMainDclModuleN a0 a1 = code { ccall BESetMainDclModuleN "I:V:I" diff --git a/backendC/CleanCompilerLib.mcp.exp b/backendC/CleanCompilerLib.mcp.exp index 4b6cd12..fd709ba 100644 --- a/backendC/CleanCompilerLib.mcp.exp +++ b/backendC/CleanCompilerLib.mcp.exp @@ -124,3 +124,4 @@ BEStrictPositions BECopyInts BEDeclareDynamicTypeSymbol BEDynamicTempTypeSymbol +BEInsertForeignExport
\ No newline at end of file |