C++ Macros
scorninpc opened this issue · 2 comments
I know this was merged with PHP repos, but i'm not PHP group and cannot login via masters to ask to php repo. But if you can help will be to much nice
I've ported Gtk 3, and working hard to understand FFI implementations to port my binding to FFI, but I'm measuring all the work to migrate this now or not. You can find some tests with FFI and the Gtk binding on my repos, if interesting you
Anyway, I seen the code of FFI extension, and see it's doesn't suport C++ macros, but have plan for that?
Thank you, and you opened a new world with FFI
I'm genuinely curious about the use case of accessing Gtk from PHP
@derrekbertrand, you can get working extension where https://github.com/scorninpc/php-gtk3, and some FFI tests where https://github.com/scorninpc/php-ffi-tests
I've bypassed macros rewriting main functions, like that https://github.com/scorninpc/php-ffi-tests/blob/master/tests/test.php#L177 and that https://github.com/scorninpc/php-ffi-tests/blob/master/tests/test.php#L270
I have some problems with callback params, but I'm working about that