[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:
Benoît Minisini 2011-03-13 02:04:19 +00:00
parent 1846556b33
commit d7c7f37a30

View File

@ -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)
{