diff options
Diffstat (limited to 'ckcapi.h')
-rw-r--r-- | ckcapi.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -60,7 +60,7 @@ typedef struct _CkCapiObjectData { CK_OBJECT_HANDLE object; void* data; - CkCapiObjectDataVtable data_funcs; + const CkCapiObjectDataVtable* data_funcs; } CkCapiObjectData; @@ -175,9 +175,7 @@ CkCapiObjectVtable; struct _CkCapiObject { CK_OBJECT_HANDLE id; - - // These items must remain together in the structure - CkCapiObjectVtable obj_funcs; + const CkCapiObjectVtable* obj_funcs; void* unique_key; size_t unique_len; }; |