@@ -611,7 +611,6 @@ wasm_runtime_set_wasi_ns_lookup_pool(wasm_module_t module,
611
611
*/
612
612
WASM_RUNTIME_API_EXTERN wasm_module_inst_t
613
613
wasm_runtime_instantiate (const wasm_module_t module ,
614
- <<<<<<< HEAD
615
614
uint32_t default_stack_size ,
616
615
uint32_t host_managed_heap_size , char * error_buf ,
617
616
uint32_t error_buf_size );
@@ -626,14 +625,6 @@ WASM_RUNTIME_API_EXTERN wasm_module_inst_t
626
625
wasm_runtime_instantiate_ex (const wasm_module_t module ,
627
626
const InstantiationArgs * args , char * error_buf ,
628
627
uint32_t error_buf_size );
629
- || || || | parent of d8948a72 (Update version number to 2.0 .0 and update release notes (#3327 ))
630
- uint32_t default_stack_size , uint32_t host_managed_heap_size ,
631
- char * error_buf , uint32_t error_buf_size );
632
- = == == ==
633
- uint32_t default_stack_size ,
634
- uint32_t host_managed_heap_size , char * error_buf ,
635
- uint32_t error_buf_size );
636
- >>>>>>> d8948a72 (Update version number to 2.0 .0 and update release notes (#3327 ))
637
628
638
629
/**
639
630
* Instantiate a WASM module, with specified instantiation arguments
@@ -649,12 +640,13 @@ wasm_runtime_instantiate_ex(const wasm_module_t module,
649
640
/**
650
641
* Instantiate a WASM module, with specified instantiation arguments
651
642
*
652
- * Same as wasm_runtime_instantiate, but it also allows overwriting maximum memory
643
+ * Same as wasm_runtime_instantiate, but it also allows overwriting maximum
644
+ * memory
653
645
*/
654
646
WASM_RUNTIME_API_EXTERN wasm_module_inst_t
655
647
wasm_runtime_instantiate_ex (const wasm_module_t module ,
656
- const InstantiationArgs * args ,
657
- char * error_buf , uint32_t error_buf_size );
648
+ const InstantiationArgs * args , char * error_buf ,
649
+ uint32_t error_buf_size );
658
650
659
651
/**
660
652
* Set the running mode of a WASM module instance, override the
@@ -1531,16 +1523,8 @@ WASM_RUNTIME_API_EXTERN double
1531
1523
wasm_runtime_sum_wasm_exec_time (wasm_module_inst_t module_inst );
1532
1524
1533
1525
/**
1534
- <<<<<<< HEAD
1535
1526
* Return execution time in ms of a given wasm function with
1536
1527
* func_name. If the function is not found, return 0.
1537
- ||||||| parent of d8948a72 (Update version number to 2.0.0 and update release notes (#3327))
1538
- * Return execution time in ms of a given wasm funciton with
1539
- * func_name. If the function is not found, return 0.
1540
- =======
1541
- * Return execution time in ms of a given wasm funciton with
1542
- * func_name. If the function is not found, return 0.
1543
- >>>>>>> d8948a72 (Update version number to 2.0.0 and update release notes (#3327))
1544
1528
*
1545
1529
* @param module_inst the WASM module instance to profile
1546
1530
* @param func_name could be an export name or a name in the
@@ -1762,16 +1746,8 @@ wasm_runtime_is_import_func_linked(const char *module_name,
1762
1746
const char * func_name );
1763
1747
1764
1748
/**
1765
- <<<<<<< HEAD
1766
1749
* Check whether an import global `(import <module_name> <global_name>
1767
1750
* (global ...))` is linked or not with runtime registered native globals
1768
- ||||||| parent of d8948a72 (Update version number to 2.0.0 and update release notes (#3327))
1769
- * Check whether an import global `(import <module_name> <global_name> (global ...))`
1770
- * is linked or not with runtime registered natvie globals
1771
- =======
1772
- * Check whether an import global `(import <module_name> <global_name>
1773
- * (global ...))` is linked or not with runtime registered natvie globals
1774
- >>>>>>> d8948a72 (Update version number to 2.0.0 and update release notes (#3327))
1775
1751
*/
1776
1752
WASM_RUNTIME_API_EXTERN bool
1777
1753
wasm_runtime_is_import_global_linked (const char * module_name ,
@@ -1980,7 +1956,7 @@ wasm_runtime_is_underlying_binary_freeable(const wasm_module_t module);
1980
1956
/*
1981
1957
* wasm_runtime_checkpoint/wasm_runtime_restore
1982
1958
*
1983
- * These APIs are intended to be used by the host to register the current
1959
+ * These APIs are intended to be used by the host to register the current
1984
1960
* state of the WASM module instance to a file and restore the state from
1985
1961
* file
1986
1962
* eg.
@@ -1993,11 +1969,9 @@ wasm_runtime_is_underlying_binary_freeable(const wasm_module_t module);
1993
1969
* }
1994
1970
*/
1995
1971
WASM_RUNTIME_API_EXTERN bool
1996
- wasm_runtime_checkpoint (wasm_module_inst_t module_inst ,
1997
- char * file );
1972
+ wasm_runtime_checkpoint (wasm_module_inst_t module_inst , char * file );
1998
1973
WASM_RUNTIME_API_EXTERN bool
1999
- wasm_runtime_restore (wasm_module_inst_t module_inst ,
2000
- char * file , char * file1 );
1974
+ wasm_runtime_restore (wasm_module_inst_t module_inst , char * file , char * file1 );
2001
1975
#endif
2002
1976
2003
1977
WASM_RUNTIME_API_EXTERN bool
0 commit comments