aboutsummaryrefslogtreecommitdiff
path: root/backend/backendinterface.icl
diff options
context:
space:
mode:
Diffstat (limited to 'backend/backendinterface.icl')
-rw-r--r--backend/backendinterface.icl6
1 files changed, 6 insertions, 0 deletions
diff --git a/backend/backendinterface.icl b/backend/backendinterface.icl
index ca72776..9b08d0f 100644
--- a/backend/backendinterface.icl
+++ b/backend/backendinterface.icl
@@ -412,6 +412,7 @@ typeToClass {dtci_iclModuleIndex, dtci_iclModule, dtci_dclModules} {type_ident,
nIclClasses
= size dtci_iclModule.icl_common.com_class_defs
+/*
copyInts :: !Int !Int -> {#Int}
copyInts length cArray
= code {
@@ -422,3 +423,8 @@ copyInts length cArray
ccall BECopyInts "IIA-I"
pop_b 1
}
+*/
+
+copyInts :: !Int !Int -> {#Int}
+copyInts length cArray
+ = {BEGetIntFromArray i cArray \\ i<-[0..length-1]} \ No newline at end of file