ext/pk11_struct_macros.h in pkcs11-0.3.3 vs ext/pk11_struct_macros.h in pkcs11-0.3.4
- old
+ new
@@ -84,10 +84,10 @@
if (NIL_P(value)){
rb_iv_set(obj, name, value);
*ptr = NULL_PTR;
return value;
}
- new_obj = Data_Make_Struct(rb_cData, CK_ULONG, 0, -1, *ptr);
+ new_obj = Data_Make_Struct(rb_cObject, CK_ULONG, 0, -1, *ptr);
rb_iv_set(obj, name, new_obj);
**ptr = NUM2ULONG(value);
return value;
}