1
0
mirror of https://github.com/deuill/go-php.git synced 2024-09-21 08:50:45 +00:00
go-php/engine.h
Alex Palaistras bd0f41e3d5 Initial commit of entire workspace
Code was seperated out from the Sigil web application framework.
https://github.com/deuill/sigil
2015-09-17 22:22:07 +01:00

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