summaryrefslogtreecommitdiff
path: root/ext/win32ole/win32ole_variant.h
diff options
context:
space:
mode:
authorsuke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-25 22:46:15 +0000
committersuke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-25 22:46:15 +0000
commit5d2ce2fb40fecc7ad8431886d2bc3ab2aa0a69ec (patch)
tree5dd041e781038b14ace319df575d081bdd797dfb /ext/win32ole/win32ole_variant.h
parent1fe90db5380117580ae41be4f3d01686aaa73697 (diff)
ext/win32ole/win32ole.c (ole_val2variant, ole_invoke): refactoring.
use ole_variant2variant to convert WIN32OLE_VARIANT object to VARIANT object. ext/win32ole/win32ole_variant.c: refactoring. add ole_variant2variant. ext/win32ole/win32ole_variant.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/win32ole/win32ole_variant.h')
-rw-r--r--ext/win32ole/win32ole_variant.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/ext/win32ole/win32ole_variant.h b/ext/win32ole/win32ole_variant.h
index d06aa34..efe7ea8 100644
--- a/ext/win32ole/win32ole_variant.h
+++ b/ext/win32ole/win32ole_variant.h
@@ -1,12 +1,8 @@
#ifndef WIN32OLE_VARIANT_H
#define WIN32OLE_VARIANT_H 1
-struct olevariantdata {
- VARIANT realvar;
- VARIANT var;
-};
-
VALUE cWIN32OLE_VARIANT;
+void ole_variant2variant(VALUE val, VARIANT *var);
void Init_win32ole_variant(void);
#endif