> De : Pierre Joye [mailto:pierre....@gmail.com]
> Not sure it will help. It is really about showing cases for deref,
> duplicate, convert, iterate, etc. The zpp, return values or
> functions/class/methods declaration are really the easy part here.

I understand. I thought it would be a nice way to enhance the abstraction layer 
php-ext-gen provides, as I am missing use cases. Generating glue code is just 
one of the project objectives. The second one is to provide an abstraction 
layer allowing to duplicate as few code as possible when migrating an extension 
to PHP 7 (HHVM is also in scope).

I already fully abstract resources, so that user code doesn't have to deal, for 
instance, with zend_resource structs. I also provide an API for persistent 
resources, which Zend does not provide. That's just an example. It can be done 
for many other areas.

But, if you don't want to participate, I'll integrate that myself using your 
examples.

Just a question : for your demo extension, would you write two branches or a 
single one with #ifdef directives ?

Cheers

François



--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to