The initial rationale behind pushing all files into a subdirectory was keeping
the repository root clean, however there's probably better, and move meaningful
ways of doing so (splitting `engine`, `context`, and `value` to separate
packages, moving all `.c` files into the `src` directory etc.
This will allow for better tests, among other things, since
the previous arrangement did not allow for sub-packages of
engine to be tested individually (due to cyclic dependancy
issues).
Signed-off-by: Alex Palaistras <[email protected]>
This contains extensive API changes for the value package C bindings
as well changes to the receiver package (addition of Destroy method
and other small changes). These changes are mainly to address issues
with PHP7 compatibility, but should also benefit PHP5 targets.
Signed-off-by: Alex Palaistras <[email protected]>
This removes all "#ifdef PHP_MAJOR_VERSION" directives for version-specific
header files per supported PHP version. These headers are included only when
building against the specific PHP version, and are intended to abstract
differences between implementations in a fairly clean way.
This is still a mess of preprocessor directives, however.