mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Fixed bug #24051: shared build and test
This commit is contained in:
parent
93640e75e6
commit
fe054542a3
3 changed files with 6 additions and 6 deletions
|
@ -39,7 +39,7 @@ static int mcve_init; /* For Safe Memory Deallocation */
|
||||||
/* {{{ extension definition structures */
|
/* {{{ extension definition structures */
|
||||||
static unsigned char second_arg_force_ref[] = { 2, BYREF_NONE, BYREF_FORCE };
|
static unsigned char second_arg_force_ref[] = { 2, BYREF_NONE, BYREF_FORCE };
|
||||||
|
|
||||||
function_entry php_mcve_functions[] = {
|
function_entry mcve_functions[] = {
|
||||||
PHP_FE(mcve_initengine, NULL)
|
PHP_FE(mcve_initengine, NULL)
|
||||||
PHP_FE(mcve_initconn, NULL)
|
PHP_FE(mcve_initconn, NULL)
|
||||||
PHP_FE(mcve_deleteresponse, NULL)
|
PHP_FE(mcve_deleteresponse, NULL)
|
||||||
|
@ -120,12 +120,12 @@ function_entry php_mcve_functions[] = {
|
||||||
{ NULL, NULL, NULL }
|
{ NULL, NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
zend_module_entry php_mcve_module_entry = {
|
zend_module_entry mcve_module_entry = {
|
||||||
#if ZEND_MODULE_API_NO >= 20010901
|
#if ZEND_MODULE_API_NO >= 20010901
|
||||||
STANDARD_MODULE_HEADER,
|
STANDARD_MODULE_HEADER,
|
||||||
#endif
|
#endif
|
||||||
"mcve", /* module name */
|
"mcve", /* module name */
|
||||||
php_mcve_functions, /* struct of functions (see above) */
|
mcve_functions, /* struct of functions (see above) */
|
||||||
PHP_MINIT(mcve), /* module initialization functions */
|
PHP_MINIT(mcve), /* module initialization functions */
|
||||||
NULL, /* module shutdown functions */
|
NULL, /* module shutdown functions */
|
||||||
NULL, /* request initialization functions */
|
NULL, /* request initialization functions */
|
||||||
|
|
|
@ -20,9 +20,9 @@
|
||||||
#ifndef _PHP_MCVE_H
|
#ifndef _PHP_MCVE_H
|
||||||
#define _PHP_MCVE_H
|
#define _PHP_MCVE_H
|
||||||
|
|
||||||
extern zend_module_entry php_mcve_module_entry;
|
extern zend_module_entry mcve_module_entry;
|
||||||
|
|
||||||
#define mcve_module_ptr &php_mcve_module_entry
|
#define mcve_module_ptr &mcve_module_entry
|
||||||
#define phpext_mcve_ptr mcve_module_ptr
|
#define phpext_mcve_ptr mcve_module_ptr
|
||||||
|
|
||||||
#define PHP_MCVE_VERSION "3.0"
|
#define PHP_MCVE_VERSION "3.0"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Check for mcve presence
|
Check for mcve presence
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if (!extension_loaded("MCVE")) print "skip"; ?>
|
<?php if (!extension_loaded("mcve")) print "skip"; ?>
|
||||||
--POST--
|
--POST--
|
||||||
--GET--
|
--GET--
|
||||||
--FILE--
|
--FILE--
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue