Ruby: ext/win32ole/win32ole_variant.c File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Data Structures | Functions | Variables
win32ole_variant.c File Reference
`#include "win32ole.h"`

Go to the source code of this file.

## Data Structures
struct | olevariantdata

## Functions
void | ole_variant2variant (VALUE val, VARIANT *var)
void | Init_win32ole_variant (void)

## Variables
VALUE | cWIN32OLE_VARIANT

## Function Documentation

## ◆ Init_win32ole_variant()

void Init_win32ole_variant | ( | void |  | ) |

Definition at line 695 of file win32ole_variant.c.

References cWIN32OLE_VARIANT, INT2NUM, Qnil, rb_cObject, rb_define_alloc_func(), rb_define_class(), rb_define_const(), rb_define_method, rb_define_singleton_method, rb_funcall(), and rb_intern().

Referenced by Init_win32ole().

## ◆ ole_variant2variant()

void ole_variant2variant | ( | VALUE | val,
|  | VARIANT * | var
| ) |  |

Definition at line 685 of file win32ole_variant.c.

References TypedData_Get_Struct, and olevariantdata::var.

Referenced by ole_val2variant().

## Variable Documentation

## ◆ cWIN32OLE_VARIANT

VALUE cWIN32OLE_VARIANT

Definition at line 692 of file win32ole_variant.c.

Referenced by Init_win32ole_variant(), and ole_val2variant().