cvs: php4 /ext/com/ COM.c

[email protected] ("Hartmut Holzgraefe")
Newsgroups php.version4
Message-ID <cvshholzgra959120644@cvsserver>
hholzgra		Wed May 24 00:24:04 2000 EDT

  Modified files:
    /php4/ext/com	COM.c 
  Log:
  some protos where missing, took them from php3
  
  
Index: php4/ext/com/COM.c
diff -u php4/ext/com/COM.c:1.32 php4/ext/com/COM.c:1.33
--- php4/ext/com/COM.c:1.32	Thu May 18 17:34:22 2000
+++ php4/ext/com/COM.c	Wed May 24 00:24:04 2000
@@ -650,7 +650,6 @@
 }
 
 
-
 static void do_COM_propput(pval *return_value, IDispatch *i_dispatch, pval *arg_property, pval *value)
 {
 	DISPID dispid;
@@ -709,6 +708,8 @@
 }
 
 
+/* {{{ proto mixed com_propget(int module, string property_name)
+   Gets properties from a COM module */
 PHP_FUNCTION(com_propget)
 {
 	pval *arg_idispatch, *arg_property;
@@ -734,8 +735,11 @@
 	}
 	php_variant_to_pval(&var_result, return_value, 0);
 }
+/* }}} */
 
 
+/* {{{ proto bool com_propput(int module, string property_name, mixed value)
+   Puts the properties for a module */
 PHP_FUNCTION(com_propput)
 {
 	pval *arg_idispatch, *arg_property, *arg_value;
@@ -757,6 +761,7 @@
 
 	do_COM_propput(return_value, i_dispatch, arg_property, arg_value);
 }
+/* }}} */
 
 
 VARIANTARG _php_COM_get_property_handler(zend_property_reference *property_reference)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.