Having a bit of trouble with a flaky DLLCC function. Here's how these lines
from the header get installed into an interface class,
#define SQLITE_TRANSIENT ((void(*)(void *))-1)
int sqlite3_bind_text(sqlite3_stmt*, int, const char*, int n,
void(*)(void*));
SQLITE_TRANSIENT
<C: #define SQLITE_TRANSIENT ((void(*)(void*))-1)>
sqlite3_bind_text: _arg1 with: _arg2 with: _arg3 with: n with: _arg4
<C: int sqlite3_bind_text(sqlite3_stmt * _arg1, int _arg2, const
char * _arg3, int n, void (* _arg4)(void * ))>
^self externalAccessFailedWith: _errorCode
So far so good. Everything working fine, but as soon as image is shut down
and started up again, this function call fails with
SQLite.Interface>>sqlite3_bind_text:with:with:with:with:
Receiver:
an SQLite.Interface
Arguments:
_arg1 = a CCompositePointer {01016138} (struct __sqlite3_stmt * )
_arg2 = 1
_arg3 = a CPointer {00FF0C48} (unsigned char * )
n = -1
_arg4 = a CProcedurePointer (void (* )(void * ))
Temporaries:
_errorCode = a SystemError(#'bad argument',5)
Context PC = 10
Recompiling all methods via "SQLite.Interface recompileMethods" straightens
it up again, but surely that's an issue isn't it?
Cheers!
-Boris
--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
[hidden email]
CONFIDENTIALITY NOTICE
This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.
Thank you.