Lines Matching refs:obj
48 php_com_dotnet_object *obj; in php_com_wrap_dispatch() local
50 obj = emalloc(sizeof(*obj)); in php_com_wrap_dispatch()
51 memset(obj, 0, sizeof(*obj)); in php_com_wrap_dispatch()
52 obj->code_page = codepage; in php_com_wrap_dispatch()
53 obj->ce = php_com_variant_class_entry; in php_com_wrap_dispatch()
54 obj->zo.ce = php_com_variant_class_entry; in php_com_wrap_dispatch()
56 VariantInit(&obj->v); in php_com_wrap_dispatch()
57 V_VT(&obj->v) = VT_DISPATCH; in php_com_wrap_dispatch()
58 V_DISPATCH(&obj->v) = disp; in php_com_wrap_dispatch()
60 IDispatch_AddRef(V_DISPATCH(&obj->v)); in php_com_wrap_dispatch()
61 IDispatch_GetTypeInfo(V_DISPATCH(&obj->v), 0, LANG_NEUTRAL, &obj->typeinfo); in php_com_wrap_dispatch()
64 …z->value.obj.handle = zend_objects_store_put(obj, NULL, php_com_object_free_storage, php_com_objec… in php_com_wrap_dispatch()
65 z->value.obj.handlers = &php_com_object_handlers; in php_com_wrap_dispatch()
71 php_com_dotnet_object *obj; in php_com_wrap_variant() local
73 obj = emalloc(sizeof(*obj)); in php_com_wrap_variant()
74 memset(obj, 0, sizeof(*obj)); in php_com_wrap_variant()
75 obj->code_page = codepage; in php_com_wrap_variant()
76 obj->ce = php_com_variant_class_entry; in php_com_wrap_variant()
77 obj->zo.ce = php_com_variant_class_entry; in php_com_wrap_variant()
79 VariantInit(&obj->v); in php_com_wrap_variant()
80 VariantCopyInd(&obj->v, v); in php_com_wrap_variant()
81 obj->modified = 0; in php_com_wrap_variant()
83 if ((V_VT(&obj->v) == VT_DISPATCH) && (V_DISPATCH(&obj->v) != NULL)) { in php_com_wrap_variant()
84 IDispatch_GetTypeInfo(V_DISPATCH(&obj->v), 0, LANG_NEUTRAL, &obj->typeinfo); in php_com_wrap_variant()
89 …z->value.obj.handle = zend_objects_store_put(obj, NULL, php_com_object_free_storage, php_com_objec… in php_com_wrap_variant()
90 z->value.obj.handlers = &php_com_object_handlers; in php_com_wrap_variant()