diff options
| author | Wez Furlong <wez@php.net> | 2002-05-21 22:44:10 +0000 |
|---|---|---|
| committer | Wez Furlong <wez@php.net> | 2002-05-21 22:44:10 +0000 |
| commit | 762effcf6094d94b99093de0985990d48510fd94 (patch) | |
| tree | ecfc21f78f8db2bce77af7fda0d4cf21d3b3fe60 /ext/com/COM.c | |
| parent | fbf920d9a36b15ae555e613cba0507c20a5a1f23 (diff) | |
| download | php-git-762effcf6094d94b99093de0985990d48510fd94.tar.gz | |
Add documentation comment for properties in com_print_typeinfo
Diffstat (limited to 'ext/com/COM.c')
| -rw-r--r-- | ext/com/COM.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/com/COM.c b/ext/com/COM.c index 1814056086..288a03ac32 100644 --- a/ext/com/COM.c +++ b/ext/com/COM.c @@ -1183,6 +1183,14 @@ static int process_typeinfo(ITypeInfo *typeinfo, HashTable *id_to_name, int prin if (isprop) { + typeinfo->lpVtbl->GetDocumentation(typeinfo, func->memid, NULL, &olename, NULL, NULL); + if (olename) { + funcdesc = php_OLECHAR_to_char(olename, &funcdesclen, codepage TSRMLS_CC); + SysFreeString(olename); + php_printf("\t/* %s */\n", funcdesc); + efree(funcdesc); + } + php_printf("\tvar $%s;\n\n", ansiname); } else { |
