summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Kanis <lars@greiz-reinsdorf.de>2020-12-05 18:43:19 +0100
committerLars Kanis <lars@greiz-reinsdorf.de>2020-12-05 18:43:19 +0100
commitd2637f37a698321c1cdb27ae79a84ca0d71774ec (patch)
tree7be0f491b527f97bff60c6e289ee42981cfc0964
parent16734a3060621379bc1c7ae54da58fa2df50e3e3 (diff)
downloadffi-d2637f37a698321c1cdb27ae79a84ca0d71774ec.tar.gz
Add a description for closure addresses in struct
-rw-r--r--ext/ffi_c/ClosurePool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ffi_c/ClosurePool.h b/ext/ffi_c/ClosurePool.h
index 36619f4..99e3a47 100644
--- a/ext/ffi_c/ClosurePool.h
+++ b/ext/ffi_c/ClosurePool.h
@@ -35,8 +35,8 @@ typedef struct Closure_ Closure;
struct Closure_ {
void* info; /* opaque handle for storing closure-instance specific data */
void* function; /* closure-instance specific function, called by custom trampoline */
- void* code; /* The native trampoline code location */
- void* pcl;
+ void* code; /* Executable address for the native trampoline code location */
+ void* pcl; /* Writeable address for the native trampoline code location */
struct ClosurePool_* pool;
Closure* next;