summaryrefslogtreecommitdiff
path: root/ext/ffi_c/Call.c
diff options
context:
space:
mode:
authorWayne Meissner <wmeissner@gmail.com>2009-08-08 00:23:54 +1000
committerWayne Meissner <wmeissner@gmail.com>2009-08-08 00:23:54 +1000
commit0c1df723a492c2d6661d8416e73f56723e5cbf6e (patch)
treec185fa55d084c04d595006ce169e7ccda49c65cf /ext/ffi_c/Call.c
parent28420b283595078d817c7ebd12a1e3e1b3517717 (diff)
downloadffi-0c1df723a492c2d6661d8416e73f56723e5cbf6e.tar.gz
Use NativeCallback::memory:address instead of NativeCallback::code
Diffstat (limited to 'ext/ffi_c/Call.c')
-rw-r--r--ext/ffi_c/Call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ffi_c/Call.c b/ext/ffi_c/Call.c
index 5239900..75892bd 100644
--- a/ext/ffi_c/Call.c
+++ b/ext/ffi_c/Call.c
@@ -418,7 +418,7 @@ callback_param(VALUE proc, VALUE cbInfo)
callback = rbffi_NativeCallback_ForProc(proc, cbInfo);
- return ((NativeCallback *) DATA_PTR(callback))->code;
+ return ((AbstractMemory *) DATA_PTR(callback))->address;
}