php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #78836 Add support for general C macros/includes for FFI header
Submitted: 2019-11-19 14:01 UTC Modified: -
From: lisachenko dot it at gmail dot com Assigned:
Status: Open Package: *Extensibility Functions
PHP Version: 7.4.0RC6 OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2019-11-19 14:01 UTC] lisachenko dot it at gmail dot com
Description:
------------
Current implementation of C header parser is partial in PHP. Thus in order to use FFI with existing libraries, someone needs to craft own version of header, because macros and includes are not supported.

It would be nice to extend current FFI C parser and have an ability to include several files without manual ordering.


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Oct 01 06:01:25 2020 UTC