Project

Profile

Help

Revision 1117bc69

Added by O'Neil Delpratt almost 2 years ago

Saxon/C Development - Multithreading feature

View differences:

latest9.9/hec/Saxon.C.API/php_saxon.cpp
188 188
}
189 189

  
190 190

  
191
PHP_METHOD(SaxonProcessor, init)
192
{
193
    SaxonProcessor *saxonProcessor;
194
    char * cwdStr;
195
    int len;
196
    
197
    
198
    saxonProcessor_object *obj = (saxonProcessor_object *)zend_object_store_get_object(getThis() TSRMLS_CC);
199
    saxonProcessor = obj->saxonProcessor;
200
    if (saxonProcessor != NULL) {
201
        
202
        SaxonProcessor::jvmCreatedCPP = 1;
203
    SaxonProcessor::sxn_environ = saxonProcessor->sxn_environ;
204
        
205
    }
206
}
207

  
208

  
209 191
PHP_METHOD(SaxonProcessor, parseXmlFromString)
210 192
{
211 193
    SaxonProcessor * saxonProcessor;
......
3421 3403
    PHP_ME(SaxonProcessor,  parseXmlFromString,      NULL, ZEND_ACC_PUBLIC)
3422 3404
    PHP_ME(SaxonProcessor,  parseXmlFromFile,      NULL, ZEND_ACC_PUBLIC)
3423 3405
    PHP_ME(SaxonProcessor,  setcwd,     NULL, ZEND_ACC_PUBLIC)
3424
    PHP_ME(SaxonProcessor,  init,     NULL, ZEND_ACC_PUBLIC)
3425 3406
    PHP_ME(SaxonProcessor,  newXPathProcessor,     NULL, ZEND_ACC_PUBLIC)
3426 3407
    PHP_ME(SaxonProcessor,  newXsltProcessor,     NULL, ZEND_ACC_PUBLIC)
3427 3408
    PHP_ME(SaxonProcessor,  newXQueryProcessor,     NULL, ZEND_ACC_PUBLIC)

Also available in: Unified diff