API function rename.
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2018-08-26 18:30:21 +02:00
parent c8c6208cca
commit 877d19a815
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
2 changed files with 3 additions and 3 deletions

View File

@ -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)) {

View File

@ -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
);