@@ -712,7 +712,7 @@ wasm_runtime_get_wasi_exit_code(wasm_module_inst_t module_inst);
712712 * @return the function instance found, NULL if not found
713713 */
714714WASM_RUNTIME_API_EXTERN wasm_function_inst_t
715- wasm_runtime_lookup_function (wasm_module_inst_t const module_inst ,
715+ wasm_runtime_lookup_function (const wasm_module_inst_t module_inst ,
716716 const char * name );
717717
718718/**
@@ -724,8 +724,8 @@ wasm_runtime_lookup_function(wasm_module_inst_t const module_inst,
724724 * @return the parameter count of the function instance
725725 */
726726WASM_RUNTIME_API_EXTERN uint32_t
727- wasm_func_get_param_count (wasm_function_inst_t const func_inst ,
728- wasm_module_inst_t const module_inst );
727+ wasm_func_get_param_count (const wasm_function_inst_t func_inst ,
728+ const wasm_module_inst_t module_inst );
729729
730730/**
731731 * Get result count of the function instance
@@ -736,8 +736,8 @@ wasm_func_get_param_count(wasm_function_inst_t const func_inst,
736736 * @return the result count of the function instance
737737 */
738738WASM_RUNTIME_API_EXTERN uint32_t
739- wasm_func_get_result_count (wasm_function_inst_t const func_inst ,
740- wasm_module_inst_t const module_inst );
739+ wasm_func_get_result_count (const wasm_function_inst_t func_inst ,
740+ const wasm_module_inst_t module_inst );
741741
742742/**
743743 * Get parameter types of the function instance
@@ -747,8 +747,8 @@ wasm_func_get_result_count(wasm_function_inst_t const func_inst,
747747 * @param param_types the parameter types returned
748748 */
749749WASM_RUNTIME_API_EXTERN void
750- wasm_func_get_param_types (wasm_function_inst_t const func_inst ,
751- wasm_module_inst_t const module_inst ,
750+ wasm_func_get_param_types (const wasm_function_inst_t func_inst ,
751+ const wasm_module_inst_t module_inst ,
752752 wasm_valkind_t * param_types );
753753
754754/**
@@ -759,8 +759,8 @@ wasm_func_get_param_types(wasm_function_inst_t const func_inst,
759759 * @param result_types the result types returned
760760 */
761761WASM_RUNTIME_API_EXTERN void
762- wasm_func_get_result_types (wasm_function_inst_t const func_inst ,
763- wasm_module_inst_t const module_inst ,
762+ wasm_func_get_result_types (const wasm_function_inst_t func_inst ,
763+ const wasm_module_inst_t module_inst ,
764764 wasm_valkind_t * result_types );
765765
766766/**
@@ -1314,7 +1314,7 @@ wasm_runtime_get_export_type(const wasm_module_t module, int32_t export_index,
13141314 * @return the number of parameters for the function type
13151315 */
13161316WASM_RUNTIME_API_EXTERN uint32_t
1317- wasm_func_type_get_param_count (wasm_func_type_t const func_type );
1317+ wasm_func_type_get_param_count (const wasm_func_type_t func_type );
13181318
13191319/**
13201320 * Get the kind of a parameter for a function type
@@ -1325,7 +1325,7 @@ wasm_func_type_get_param_count(wasm_func_type_t const func_type);
13251325 * @return the kind of the parameter if successful, -1 otherwise
13261326 */
13271327WASM_RUNTIME_API_EXTERN wasm_valkind_t
1328- wasm_func_type_get_param_valkind (wasm_func_type_t const func_type ,
1328+ wasm_func_type_get_param_valkind (const wasm_func_type_t func_type ,
13291329 uint32_t param_index );
13301330
13311331/**
@@ -1336,7 +1336,7 @@ wasm_func_type_get_param_valkind(wasm_func_type_t const func_type,
13361336 * @return the number of results for the function type
13371337 */
13381338WASM_RUNTIME_API_EXTERN uint32_t
1339- wasm_func_type_get_result_count (wasm_func_type_t const func_type );
1339+ wasm_func_type_get_result_count (const wasm_func_type_t func_type );
13401340
13411341/**
13421342 * Get the kind of a result for a function type
@@ -1347,7 +1347,7 @@ wasm_func_type_get_result_count(wasm_func_type_t const func_type);
13471347 * @return the kind of the result if successful, -1 otherwise
13481348 */
13491349WASM_RUNTIME_API_EXTERN wasm_valkind_t
1350- wasm_func_type_get_result_valkind (wasm_func_type_t const func_type ,
1350+ wasm_func_type_get_result_valkind (const wasm_func_type_t func_type ,
13511351 uint32_t result_index );
13521352
13531353/**
@@ -1817,7 +1817,7 @@ wasm_runtime_dump_pgo_prof_data_to_buf(wasm_module_inst_t module_inst,
18171817 * and name string) if found, NULL otherwise
18181818 */
18191819WASM_RUNTIME_API_EXTERN const uint8_t *
1820- wasm_runtime_get_custom_section (wasm_module_t const module_comm ,
1820+ wasm_runtime_get_custom_section (const wasm_module_t module_comm ,
18211821 const char * name , uint32_t * len );
18221822
18231823/**
0 commit comments