#BUGFIX by cg
authorClaus Gittinger <cg@exept.de>
Sun, 12 Feb 2017 09:58:32 +0100
changeset 21402 13718cea3cea
parent 21401 46251f16e9e5
child 21403 8f0baf55adbb
#BUGFIX by cg class: ExternalLibraryFunction changed: #invokeFFIwithArguments:forCPPInstance: ouch: must care for immutable ArgVector/ArgTypeVector
ExternalLibraryFunction.st
--- a/ExternalLibraryFunction.st	Sun Feb 12 09:54:02 2017 +0100
+++ b/ExternalLibraryFunction.st	Sun Feb 12 09:58:32 2017 +0100
@@ -1209,14 +1209,14 @@
 
     if (argumentsOrNil == nil) {
         __numArgs = 0;
-    } else if (__isArray(argumentsOrNil)) {
+    } else if (__isArrayLike(argumentsOrNil)) {
         __numArgs = __arraySize(argumentsOrNil);
     } else {
         __FAIL__(@symbol(BadArgumentVector))
     }
     if (argTypeSymbols == nil) {
         __numArgsWanted = 0;
-    } else if (__isArray(argTypeSymbols)) {
+    } else if (__isArrayLike(argTypeSymbols)) {
         __numArgsWanted = __arraySize(argTypeSymbols);
     } else {
         __FAIL__(@symbol(BadArgumentTypeVector))
@@ -2668,7 +2668,7 @@
     ^ returnValue
 
     "Created: / 01-08-2006 / 13:56:23 / cg"
-    "Modified: / 26-08-2016 / 15:36:35 / cg"
+    "Modified: / 12-02-2017 / 09:57:42 / cg"
 !
 
 tryAgainWithAsyncSafeArguments:argumentsOrNil forCPPInstance:aReceiverOrNil