mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Expose php_embed_module struct (and make Wez happy).
This commit is contained in:
parent
ac3dc9d95e
commit
c8eb148368
2 changed files with 2 additions and 1 deletions
|
@ -99,7 +99,7 @@ static int php_embed_startup(sapi_module_struct *sapi_module)
|
||||||
return SUCCESS;
|
return SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
static sapi_module_struct php_embed_module = {
|
sapi_module_struct php_embed_module = {
|
||||||
"embedded", /* name */
|
"embedded", /* name */
|
||||||
"PHP Embedded Library", /* pretty name */
|
"PHP Embedded Library", /* pretty name */
|
||||||
|
|
||||||
|
|
|
@ -54,6 +54,7 @@
|
||||||
BEGIN_EXTERN_C()
|
BEGIN_EXTERN_C()
|
||||||
int php_embed_init(int argc, char **argv PTSRMLS_DC);
|
int php_embed_init(int argc, char **argv PTSRMLS_DC);
|
||||||
void php_embed_shutdown(TSRMLS_D);
|
void php_embed_shutdown(TSRMLS_D);
|
||||||
|
extern sapi_module_struct php_embed_module;
|
||||||
END_EXTERN_C()
|
END_EXTERN_C()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue