mirror of
https://github.com/deuill/go-php.git
synced 2024-09-21 08:50:45 +00:00
15 lines
334 B
C
15 lines
334 B
C
|
#ifndef ENGINE_H
|
||
|
#define ENGINE_H
|
||
|
|
||
|
#define return_multi(value, error) errno = error; return value
|
||
|
|
||
|
typedef struct _php_engine {
|
||
|
#ifdef ZTS
|
||
|
void ***tsrm_ls; // Local storage for thread-safe operations, used across the PHP engine.
|
||
|
#endif
|
||
|
} php_engine;
|
||
|
|
||
|
php_engine *engine_init(void);
|
||
|
void engine_shutdown(php_engine *engine);
|
||
|
|
||
|
#endif
|