diff options
author | Lars Kanis <lars@greiz-reinsdorf.de> | 2020-12-05 18:43:19 +0100 |
---|---|---|
committer | Lars Kanis <lars@greiz-reinsdorf.de> | 2020-12-05 18:43:19 +0100 |
commit | d2637f37a698321c1cdb27ae79a84ca0d71774ec (patch) | |
tree | 7be0f491b527f97bff60c6e289ee42981cfc0964 | |
parent | 16734a3060621379bc1c7ae54da58fa2df50e3e3 (diff) | |
download | ffi-d2637f37a698321c1cdb27ae79a84ca0d71774ec.tar.gz |
Add a description for closure addresses in struct
-rw-r--r-- | ext/ffi_c/ClosurePool.h | 4 |
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; |