Commit Graph

20 Commits

Author SHA1 Message Date
liang.he@intel.com
ab079c1394 refactor: enhance header generation script with default headers and formatting support 2025-11-10 12:45:34 +00:00
liang.he@intel.com
be4dc9fcf9 fix: correct indentation in RESULT_STRUCT_TEMPLATE for clarity 2025-11-10 12:45:34 +00:00
liang.he@intel.com
39e8343152 refactor: remove unused resolve_typedef function and simplify type resolution 2025-11-10 12:45:34 +00:00
liang.he@intel.com
15bc48b70b fix: update copyright notice and improve header file generation comments 2025-11-10 12:45:34 +00:00
liang.he@intel.com
b7126c18fc refactor: rename and break process_headers into small ones 2025-11-10 12:45:34 +00:00
liang.he@intel.com
42ec04cd9f Add docstring to introduce script usage, arguments, and output 2025-11-10 12:45:34 +00:00
liang.he@intel.com
1a1112f3d9 Add command-line options to accept paths of headers as a list of multiple file paths 2025-11-10 12:45:34 +00:00
liang.he@intel.com
22a969e67c fix: correct error code assignment for boolean return type in generate_checked_function 2025-11-10 12:45:34 +00:00
liang.he@intel.com
170b23d27b fix: add duplicate typedef check and improve pointer handling in generate_checked_function 2025-11-10 12:45:34 +00:00
liang.he@intel.com
4cd5e2e689 fix: update generate_checked_function to resolve typedefs and enhance Result handling for new return types 2025-11-10 12:45:34 +00:00
liang.he@intel.com
edefd13a8d fix: enhance return type handling in generate_checked_function to support pointer types 2025-11-10 12:45:34 +00:00
liang.he@intel.com
2de30f7b6f Revert "WIP. fix bugs about returning a pointer"
This reverts commit 4f9f6422cd9c32b71890d5ef668a8e3c15e15aa8.
2025-11-10 12:45:34 +00:00
liang.he@intel.com
629d01b9bd WIP. fix bugs about returning a pointer 2025-11-10 12:45:34 +00:00
liang.he@intel.com
4e0b85eccf fix: update generate_checked_function to include static inline in function declaration 2025-11-10 12:45:34 +00:00
liang.he@intel.com
90bfd394da feat: enhance generate_checked_function to support variadic arguments and update Result handling 2025-11-10 12:45:34 +00:00
liang.he@intel.com
16d35155a5 refactor: streamline Result handling by consolidating return type assignments and excluding void type 2025-11-10 12:45:34 +00:00
liang.he@intel.com
e1a10571a6 feat: include original wasm_export.h and necessary headers in generated header file 2025-11-10 12:45:34 +00:00
liang.he@intel.com
a94ca0b5d3 refactor: Make Result struct definition locally and remove dynamic type addition 2025-11-10 12:45:34 +00:00
liang.he@intel.com
2860ead566 refactor: based on current file location to adjust header file paths 2025-11-10 12:45:34 +00:00
liang.he@intel.com
356b575148 feat: add generate_checked_functions script to dynamically create checked function wrappers 2025-11-10 12:45:34 +00:00