summaryrefslogtreecommitdiff
path: root/ext/win32ole/win32ole.c
diff options
context:
space:
mode:
authorsuke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-10-17 04:02:16 +0000
committersuke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-10-17 04:02:16 +0000
commitdeaed319749127c09e90ed4930e0b228778c082d (patch)
tree9c7a319ac9914cbf9bc198effdd9867a624cd68f /ext/win32ole/win32ole.c
parent42dc25803157b11ed566874d0126e8faff9bfaa6 (diff)
* ext/win32ole/win32ole.c (fole_func_methods): correct argument mismatch.
* ext/win32ole/win32ole.c (fole_get_methods): ditto. * ext/win32ole/win32ole.c (fole_put_methods): ditto. * ext/win32ole/tests/testWIN32OLE.rb: add test for WIN32OLE#ole_func_methods WIN32OLE#ole_get_methods, WIN32OLE#ole_put_methods git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/win32ole/win32ole.c')
-rw-r--r--ext/win32ole/win32ole.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/ext/win32ole/win32ole.c b/ext/win32ole/win32ole.c
index 0e9c53f016..60c2027690 100644
--- a/ext/win32ole/win32ole.c
+++ b/ext/win32ole/win32ole.c
@@ -78,7 +78,7 @@
#define WC2VSTR(x) ole_wc2vstr((x), TRUE)
-#define WIN32OLE_VERSION "0.5.7"
+#define WIN32OLE_VERSION "0.5.8"
typedef HRESULT (STDAPICALLTYPE FNCOCREATEINSTANCEEX)
(REFCLSID, IUnknown*, DWORD, COSERVERINFO*, DWORD, MULTI_QI*);
@@ -2755,9 +2755,7 @@ fole_methods( self )
* Returns get properties.
*/
static VALUE
-fole_get_methods( argc, argv, self )
- int argc;
- VALUE *argv;
+fole_get_methods( self )
VALUE self;
{
return ole_methods( self, INVOKE_PROPERTYGET);
@@ -2769,9 +2767,7 @@ fole_get_methods( argc, argv, self )
* Returns put properties.
*/
static VALUE
-fole_put_methods( argc, argv, self )
- int argc;
- VALUE *argv;
+fole_put_methods( self )
VALUE self;
{
return ole_methods( self, INVOKE_PROPERTYPUT);
@@ -2783,9 +2779,7 @@ fole_put_methods( argc, argv, self )
* Returns OLE func methods.
*/
static VALUE
-fole_func_methods( argc, argv, self )
- int argc;
- VALUE *argv;
+fole_func_methods( self )
VALUE self;
{
return ole_methods( self, INVOKE_FUNC);