Project

Profile

Help

Revision b0301f65

Added by O'Neil Delpratt 9 months ago

Saxon/C PHP API: bug fixes

View differences:

src/main/c/Saxon.C.API/PHP7-Build/php7_saxon.cpp
4108 4108
    xslt30Processor_object_handlers.offset = XtOffsetOf(xslt30Processor_object, std);
4109 4109
    xslt30Processor_object_handlers.free_obj = Xslt30Processor_free_storage;
4110 4110
    xslt30Processor_object_handlers.dtor_obj = Xslt30Processor_destroy_storage;
4111
    //xslt30Processor_object_handlers.clone_obj = nullptr;
4111

  
4112
    INIT_CLASS_ENTRY(ce, "Saxon\\XSLTExecutable", XsltExecutable_methods);
4113
    xsltExecutable_object = zend_register_internal_class(&ce);
4114
    xsltExecutable_ce->create_object = xslt30Processor_create_handler;
4115
    memcpy(&xsltExecutable_object_handlers, zend_get_std_object_handlers(), sizeof(xsltExecutable_object_handlers));
4116
    xsltExecutable_object_handlers.offset = XtOffsetOf(xsltExecutable_object, std);
4117
    xsltExecutable_object_handlers.free_obj = XsltExcutable_free_storage;
4118
    xsltExecutable_object_handlers.dtor_obj = XsltExcutable_destroy_storage;
4112 4119

  
4113 4120
    INIT_CLASS_ENTRY(ce, "Saxon\\XQueryProcessor", XQueryProcessor_methods);
4114 4121
    xqueryProcessor_ce = zend_register_internal_class(&ce);

Also available in: Unified diff