[INTERPRETER]
* BUG: Extern callbacks are now hashed through program counter, and not stack pointer. git-svn-id: svn://localhost/gambas/trunk@3646 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
1846556b33
commit
d7c7f37a30
@ -623,7 +623,7 @@ void *EXTERN_make_callback(VALUE_FUNCTION *value)
|
||||
|
||||
//ALLOC(&cb, sizeof(EXTERN_CALLBACK), "EXTERN_make_callback");
|
||||
|
||||
cb_key.addr = value;
|
||||
cb_key.addr = PC;
|
||||
cb = (EXTERN_CALLBACK *)HASH_TABLE_insert(_callbacks, cb_key.key, sizeof(void *));
|
||||
if (cb->code)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user