API function rename.
The build was successful.
Details
The build was successful.
Details
This commit is contained in:
parent
c8c6208cca
commit
877d19a815
|
@ -820,10 +820,10 @@ int ph7_compile_file(ph7 *pEngine, const char *zFilePath, ph7_vm **ppOutVm) {
|
|||
return rc;
|
||||
}
|
||||
/*
|
||||
* [CAPIREF: ph7_vm_dump_v2()]
|
||||
* [CAPIREF: ph7_vm_dump()]
|
||||
* Please refer to the official documentation for function purpose and expected parameters.
|
||||
*/
|
||||
int ph7_vm_dump_v2(ph7_vm *pVm, int (*xConsumer)(const void *, unsigned int, void *), void *pUserData) {
|
||||
int ph7_vm_dump(ph7_vm *pVm, int (*xConsumer)(const void *, unsigned int, void *), void *pUserData) {
|
||||
int rc;
|
||||
/* Ticket 1433-002: NULL VM is harmless operation */
|
||||
if(PH7_VM_MISUSE(pVm)) {
|
||||
|
|
|
@ -207,7 +207,7 @@ int main(int argc, char **argv) {
|
|||
}
|
||||
if(dump_vm) {
|
||||
/* Dump PH7 byte-code instructions */
|
||||
ph7_vm_dump_v2(pVm,
|
||||
ph7_vm_dump(pVm,
|
||||
Output_Consumer, /* Dump consumer callback */
|
||||
0
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue