summaryrefslogtreecommitdiff
path: root/scripts/ext_skel_ng/extension_parser.php
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2003-04-23 16:19:08 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2003-04-23 16:19:08 +0000
commitc1fb09e34e0afa55ad055465fff3ec736c0ae0b1 (patch)
treeb373c7546ded5ad441bdc2cb6eeb1d724c2d8678 /scripts/ext_skel_ng/extension_parser.php
parente52ba400845d2ef2283e8e020dc1769f603d8f8a (diff)
downloadphp-git-c1fb09e34e0afa55ad055465fff3ec736c0ae0b1.tar.gz
Resource handling fixed and improved:
- resources may have an additional type specifier in prototypes - the 'alloc' attribute specifies whether to emalloc/efree the resource payload in generated code or not Example code generation for function return types Small docbook generation fixes in function documentation
Diffstat (limited to 'scripts/ext_skel_ng/extension_parser.php')
-rw-r--r--scripts/ext_skel_ng/extension_parser.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/ext_skel_ng/extension_parser.php b/scripts/ext_skel_ng/extension_parser.php
index 418f5de905..d6fae956b8 100644
--- a/scripts/ext_skel_ng/extension_parser.php
+++ b/scripts/ext_skel_ng/extension_parser.php
@@ -165,6 +165,7 @@
$this->resources[] = new php_resource($attr['name'],
@$attr['payload'],
+ @$attr['alloc'],
@$this->resource_destruct,
@$this->resource_description);