API function rename
The build was successful.
Details
The build was successful.
Details
This commit is contained in:
parent
ece036b214
commit
26b1675021
|
@ -715,7 +715,7 @@ Release:
|
||||||
* [CAPIREF: ph7_compile()]
|
* [CAPIREF: ph7_compile()]
|
||||||
* Please refer to the official documentation for function purpose and expected parameters.
|
* Please refer to the official documentation for function purpose and expected parameters.
|
||||||
*/
|
*/
|
||||||
int ph7_compile(ph7 *pEngine, const char *zSource, int nLen, ph7_vm **ppOutVm) {
|
int ph7_compile_code(ph7 *pEngine, const char *zSource, int nLen, ph7_vm **ppOutVm) {
|
||||||
SyString sScript;
|
SyString sScript;
|
||||||
int rc;
|
int rc;
|
||||||
if(PH7_ENGINE_MISUSE(pEngine) || zSource == 0) {
|
if(PH7_ENGINE_MISUSE(pEngine) || zSource == 0) {
|
||||||
|
|
|
@ -606,7 +606,7 @@ PH7_APIEXPORT int ph7_init(ph7 **ppEngine);
|
||||||
PH7_APIEXPORT int ph7_config(ph7 *pEngine, int nConfigOp, ...);
|
PH7_APIEXPORT int ph7_config(ph7 *pEngine, int nConfigOp, ...);
|
||||||
PH7_APIEXPORT int ph7_release(ph7 *pEngine);
|
PH7_APIEXPORT int ph7_release(ph7 *pEngine);
|
||||||
/* Compile Interfaces */
|
/* Compile Interfaces */
|
||||||
PH7_APIEXPORT int ph7_compile(ph7 *pEngine, const char *zSource, int nLen, ph7_vm **ppOutVm);
|
PH7_APIEXPORT int ph7_compile_code(ph7 *pEngine, const char *zSource, int nLen, ph7_vm **ppOutVm);
|
||||||
PH7_APIEXPORT int ph7_compile_file(ph7 *pEngine, const char *zFilePath, ph7_vm **ppOutVm);
|
PH7_APIEXPORT int ph7_compile_file(ph7 *pEngine, const char *zFilePath, ph7_vm **ppOutVm);
|
||||||
/* Virtual Machine Handling Interfaces */
|
/* Virtual Machine Handling Interfaces */
|
||||||
PH7_APIEXPORT int ph7_vm_config(ph7_vm *pVm, int iConfigOp, ...);
|
PH7_APIEXPORT int ph7_vm_config(ph7_vm *pVm, int iConfigOp, ...);
|
||||||
|
|
Loading…
Reference in New Issue