Ruby
2.4.2p198(2017-09-14revision59899)
|
Go to the source code of this file.
Functions | |
void | ole_rec2variant (VALUE rec, VARIANT *var) |
void | olerecord_set_ivar (VALUE obj, IRecordInfo *pri, void *prec) |
VALUE | create_win32ole_record (IRecordInfo *pri, void *prec) |
void | Init_win32ole_record (void) |
Variables | |
VALUE | cWIN32OLE_RECORD |
VALUE create_win32ole_record | ( | IRecordInfo * | pri, |
void * | prec | ||
) |
Definition at line 172 of file win32ole_record.c.
References cWIN32OLE_RECORD, folerecord_s_allocate(), and olerecord_set_ivar().
Referenced by ole_variant2val().
void Init_win32ole_record | ( | void | ) |
Definition at line 593 of file win32ole_record.c.
References cWIN32OLE_RECORD, folerecord_initialize(), folerecord_inspect(), folerecord_method_missing(), folerecord_ole_instance_variable_get(), folerecord_ole_instance_variable_set(), folerecord_s_allocate(), folerecord_to_h(), folerecord_typename(), rb_cObject, rb_define_alloc_func(), rb_define_class(), and rb_define_method().
Referenced by Init_win32ole().
void ole_rec2variant | ( | VALUE | rec, |
VARIANT * | var | ||
) |
Definition at line 87 of file win32ole_record.c.
References ALLOC_N, eWIN32OLERuntimeError, folerecord_to_h(), free(), hash2olerec(), HRESULT(), ole_raise(), olerecorddata::pdata, olerecorddata::pri, rb_eRuntimeError, rb_hash_foreach(), rb_raise(), size, TypedData_Get_Struct, and ULONG().
Referenced by ole_val2variant().
void olerecord_set_ivar | ( | VALUE | obj, |
IRecordInfo * | pri, | ||
void * | prec | ||
) |
Definition at line 123 of file win32ole_record.c.
References ALLOCA_N, count, HRESULT(), NULL, OLE_ADDREF, OLE_RELEASE, ole_variant2val(), olerecorddata::pdata, olerecorddata::pri, Qnil, rb_hash_aset(), rb_hash_new(), rb_intern, rb_ivar_set(), TypedData_Get_Struct, ULONG(), val, and WC2VSTR.
Referenced by create_win32ole_record(), folerecord_initialize(), and ole_invoke().
VALUE cWIN32OLE_RECORD |
Definition at line 4 of file win32ole_record.h.
Referenced by create_win32ole_record(), Init_win32ole_record(), ole_invoke(), and ole_val2variant().