File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -158,6 +158,8 @@ ZKC_API ZkDaedalusDataType ZkDaedalusSymbol_getReturnType(ZkDaedalusSymbol const
158
158
159
159
ZKC_API ZkDaedalusInstanceType ZkDaedalusInstance_getType (ZkDaedalusInstance const * slf );
160
160
ZKC_API uint32_t ZkDaedalusInstance_getIndex (ZkDaedalusInstance const * slf );
161
+ ZKC_API void * ZkDaedalusInstance_getUserPointer (ZkDaedalusInstance const * slf );
162
+ ZKC_API void ZkDaedalusInstance_setUserPointer (ZkDaedalusInstance * slf , void * ptr );
161
163
162
164
ZKC_API uint32_t ZkDaedalusSymbol_getFileIndex (ZkDaedalusSymbol const * slf );
163
165
ZKC_API uint32_t ZkDaedalusSymbol_getOffsetAsMember (ZkDaedalusSymbol const * slf );
Original file line number Diff line number Diff line change @@ -214,6 +214,16 @@ uint32_t ZkDaedalusInstance_getIndex(ZkDaedalusInstance const* slf) {
214
214
return slf->symbol_index ();
215
215
}
216
216
217
+ void * ZkDaedalusInstance_getUserPointer (ZkDaedalusInstance const * slf) {
218
+ ZKC_CHECK_NULL (slf);
219
+ return slf->user_ptr ;
220
+ }
221
+
222
+ void ZkDaedalusInstance_setUserPointer (ZkDaedalusInstance* slf, void * ptr) {
223
+ ZKC_CHECK_NULLV (slf);
224
+ slf->user_ptr = ptr;
225
+ }
226
+
217
227
uint32_t ZkDaedalusSymbol_getFileIndex (ZkDaedalusSymbol const * slf) {
218
228
ZKC_CHECK_NULL (slf);
219
229
return slf->file_index ();
You can’t perform that action at this time.
0 commit comments