mirror of
https://github.com/deuill/go-php.git
synced 2024-09-21 00:40:45 +00:00
Alex Palaistras
bd0f41e3d5
Code was seperated out from the Sigil web application framework. https://github.com/deuill/sigil
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 |