summaryrefslogtreecommitdiff
path: root/ext/dl/dl.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl/dl.h')
-rw-r--r--ext/dl/dl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/dl/dl.h b/ext/dl/dl.h
index f893d8c2ae..90e2131ee2 100644
--- a/ext/dl/dl.h
+++ b/ext/dl/dl.h
@@ -199,6 +199,7 @@ struct cfunc_data {
char *name;
int type;
ID calltype;
+ VALUE wrap;
};
extern ID rbdl_id_cdecl;
extern ID rbdl_id_stdcall;
@@ -209,6 +210,7 @@ struct ptr_data {
void *ptr;
long size;
freefunc_t free;
+ VALUE wrap[2];
};
#define RDL_HANDLE(obj) ((struct dl_handle *)(DATA_PTR(obj)))