Ruby
2.4.2p198(2017-09-14revision59899)
|
#include "win32ole.h"
Go to the source code of this file.
Data Structures | |
struct | olevariabledata |
Functions | |
static void | olevariable_free (void *ptr) |
static size_t | olevariable_size (const void *ptr) |
static VALUE | folevariable_name (VALUE self) |
static VALUE | ole_variable_ole_type (ITypeInfo *pTypeInfo, UINT var_index) |
static VALUE | folevariable_ole_type (VALUE self) |
static VALUE | ole_variable_ole_type_detail (ITypeInfo *pTypeInfo, UINT var_index) |
static VALUE | folevariable_ole_type_detail (VALUE self) |
static VALUE | ole_variable_value (ITypeInfo *pTypeInfo, UINT var_index) |
static VALUE | folevariable_value (VALUE self) |
static VALUE | ole_variable_visible (ITypeInfo *pTypeInfo, UINT var_index) |
static VALUE | folevariable_visible (VALUE self) |
static VALUE | ole_variable_kind (ITypeInfo *pTypeInfo, UINT var_index) |
static VALUE | folevariable_variable_kind (VALUE self) |
static VALUE | ole_variable_varkind (ITypeInfo *pTypeInfo, UINT var_index) |
static VALUE | folevariable_varkind (VALUE self) |
static VALUE | folevariable_inspect (VALUE self) |
VALUE | create_win32ole_variable (ITypeInfo *pTypeInfo, UINT index, VALUE name) |
void | Init_win32ole_variable (void) |
Variables | |
static const rb_data_type_t | olevariable_datatype |
Definition at line 52 of file win32ole_variable.c.
References cWIN32OLE_VARIABLE, olevariabledata::index, name, OLE_ADDREF, olevariabledata::pTypeInfo, rb_intern, rb_ivar_set(), and TypedData_Make_Struct.
Referenced by ole_variables().
Definition at line 360 of file win32ole_variable.c.
References folevariable_name(), folevariable_value(), make_inspect(), PRIsVALUE, rb_inspect(), and rb_sprintf().
Referenced by Init_win32ole_variable().
Definition at line 85 of file win32ole_variable.c.
References rb_intern, and rb_ivar_get().
Referenced by folevariable_inspect(), and Init_win32ole_variable().
Definition at line 125 of file win32ole_variable.c.
References olevariabledata::index, ole_variable_ole_type(), olevariabledata::pTypeInfo, and TypedData_Get_Struct.
Referenced by Init_win32ole_variable().
Definition at line 159 of file win32ole_variable.c.
References olevariabledata::index, ole_variable_ole_type_detail(), olevariabledata::pTypeInfo, and TypedData_Get_Struct.
Referenced by Init_win32ole_variable().
Definition at line 203 of file win32ole_variable.c.
References olevariabledata::index, ole_variable_value(), olevariabledata::pTypeInfo, and TypedData_Get_Struct.
Referenced by folevariable_inspect(), and Init_win32ole_variable().
Definition at line 305 of file win32ole_variable.c.
References olevariabledata::index, ole_variable_kind(), olevariabledata::pTypeInfo, and TypedData_Get_Struct.
Referenced by Init_win32ole_variable().
Definition at line 345 of file win32ole_variable.c.
References olevariabledata::index, ole_variable_varkind(), olevariabledata::pTypeInfo, and TypedData_Get_Struct.
Referenced by Init_win32ole_variable().
Definition at line 249 of file win32ole_variable.c.
References olevariabledata::index, ole_variable_visible(), olevariabledata::pTypeInfo, and TypedData_Get_Struct.
Referenced by Init_win32ole_variable().
void Init_win32ole_variable | ( | void | ) |
Definition at line 368 of file win32ole_variable.c.
References cWIN32OLE_VARIABLE, folevariable_inspect(), folevariable_name(), folevariable_ole_type(), folevariable_ole_type_detail(), folevariable_value(), folevariable_variable_kind(), folevariable_varkind(), folevariable_visible(), rb_cObject, rb_define_alias(), rb_define_class(), and rb_define_method().
Referenced by Init_win32ole().
|
static |
Definition at line 257 of file win32ole_variable.c.
References HRESULT(), and rb_str_new2.
Referenced by folevariable_variable_kind().
|
static |
Definition at line 91 of file win32ole_variable.c.
References eWIN32OLERuntimeError, HRESULT(), ole_raise(), ole_typedesc2val(), and Qnil.
Referenced by folevariable_ole_type().
|
static |
Definition at line 133 of file win32ole_variable.c.
References eWIN32OLERuntimeError, HRESULT(), ole_raise(), ole_typedesc2val(), and rb_ary_new().
Referenced by folevariable_ole_type_detail().
|
static |
Definition at line 167 of file win32ole_variable.c.
References HRESULT(), ole_variant2val(), Qnil, V_UNION1, and val.
Referenced by folevariable_value().
|
static |
Definition at line 313 of file win32ole_variable.c.
References HRESULT(), Qnil, and RB_INT2FIX.
Referenced by folevariable_varkind().
|
static |
Definition at line 211 of file win32ole_variable.c.
References HRESULT(), Qfalse, and Qtrue.
Referenced by folevariable_visible().
|
static |
Definition at line 32 of file win32ole_variable.c.
References free(), OLE_FREE, and olevariabledata::pTypeInfo.
|
static |
Definition at line 40 of file win32ole_variable.c.
|
static |
Definition at line 25 of file win32ole_variable.c.