1
0
mirror of https://github.com/djhackersdev/bemanitools.git synced 2024-12-01 01:27:18 +01:00

feat(avs): Add property get and clear error functions

Use these to improve error handling by allowing
one to provide additional error information on
property related operations.
This commit is contained in:
icex2 2024-02-25 09:14:42 +01:00
parent f5b8af3f2a
commit 8804e667b3
17 changed files with 36 additions and 1 deletions

View File

@ -220,6 +220,9 @@ void property_file_write(struct property *prop, const char *path);
int property_set_flag(struct property *prop, int flags, int mask); int property_set_flag(struct property *prop, int flags, int mask);
void property_destroy(struct property *prop); void property_destroy(struct property *prop);
avs_error property_get_error(struct property *prop);
struct property *property_clear_error(struct property *prop);
int property_psmap_import( int property_psmap_import(
struct property *prop, struct property *prop,
struct property_node *root, struct property_node *root,

View File

@ -25,6 +25,8 @@ EXPORTS
property_destroy property_destroy
property_file_write property_file_write
property_insert_read property_insert_read
property_clear_error
property_get_error
property_mem_write property_mem_write
property_read_query_memsize property_read_query_memsize
property_search property_search

View File

@ -28,6 +28,8 @@ EXPORTS
property_destroy property_destroy
property_file_write property_file_write
property_insert_read property_insert_read
property_clear_error
property_get_error
property_mem_write property_mem_write
property_read_query_memsize property_read_query_memsize
property_search property_search

View File

@ -26,6 +26,8 @@ EXPORTS
property_desc_to_buffer @246 NONAME property_desc_to_buffer @246 NONAME
property_destroy @247 NONAME property_destroy @247 NONAME
property_insert_read @255 NONAME property_insert_read @255 NONAME
property_clear_error @573 NONAME
property_get_error @573 NONAME
property_node_create @266 NONAME property_node_create @266 NONAME
property_node_datasize @267 NONAME property_node_datasize @267 NONAME
property_node_name @274 NONAME property_node_name @274 NONAME

View File

@ -25,6 +25,8 @@ EXPORTS
property_desc_to_buffer @201 NONAME property_desc_to_buffer @201 NONAME
property_destroy @264 NONAME property_destroy @264 NONAME
property_insert_read @23 NONAME property_insert_read @23 NONAME
property_clear_error @573 NONAME
property_get_error @573 NONAME
property_node_create @316 NONAME property_node_create @316 NONAME
property_node_datasize @249 NONAME property_node_datasize @249 NONAME
property_node_name @255 NONAME property_node_name @255 NONAME

View File

@ -25,6 +25,8 @@ EXPORTS
property_desc_to_buffer @201 NONAME == XC058ba50000cd property_desc_to_buffer @201 NONAME == XC058ba50000cd
property_destroy @264 NONAME == XC058ba500010f property_destroy @264 NONAME == XC058ba500010f
property_insert_read @23 NONAME == XC058ba5000016 property_insert_read @23 NONAME == XC058ba5000016
property_clear_error @573 NONAME
property_get_error @573 NONAME
property_node_create @316 NONAME == XC058ba5000143 property_node_create @316 NONAME == XC058ba5000143
property_node_datasize @249 NONAME == XC058ba5000100 property_node_datasize @249 NONAME == XC058ba5000100
property_node_name @255 NONAME == XC058ba5000106 property_node_name @255 NONAME == XC058ba5000106

View File

@ -24,6 +24,8 @@ EXPORTS
property_desc_to_buffer @131 NONAME property_desc_to_buffer @131 NONAME
property_destroy @130 NONAME property_destroy @130 NONAME
property_insert_read @133 NONAME property_insert_read @133 NONAME
property_clear_error @573 NONAME
property_get_error @573 NONAME
property_node_name @573 NONAME == property_node_name @573 NONAME ==
property_node_read @573 NONAME == property_node_read @573 NONAME ==
property_node_remove @148 NONAME property_node_remove @148 NONAME

View File

@ -26,6 +26,8 @@ EXPORTS
property_desc_to_buffer @129 NONAME property_desc_to_buffer @129 NONAME
property_destroy @128 NONAME property_destroy @128 NONAME
property_insert_read @131 NONAME property_insert_read @131 NONAME
property_clear_error @573 NONAME
property_get_error @573 NONAME
property_node_create @145 NONAME property_node_create @145 NONAME
property_node_name @150 NONAME property_node_name @150 NONAME
property_node_read @154 NONAME == XCd229cc0000f3 property_node_read @154 NONAME == XCd229cc0000f3

View File

@ -19,6 +19,8 @@ EXPORTS
property_destroy @125 NONAME property_destroy @125 NONAME
property_desc_to_buffer @126 NONAME property_desc_to_buffer @126 NONAME
property_insert_read @128 NONAME property_insert_read @128 NONAME
property_clear_error @573 NONAME
property_get_error @573 NONAME
property_search @141 NONAME property_search @141 NONAME
property_node_create @142 NONAME property_node_create @142 NONAME
property_node_name @147 NONAME == XCnbrep7000092 property_node_name @147 NONAME == XCnbrep7000092

View File

@ -19,6 +19,8 @@ EXPORTS
property_destroy @146 NONAME property_destroy @146 NONAME
property_desc_to_buffer @147 NONAME property_desc_to_buffer @147 NONAME
property_insert_read @149 NONAME property_insert_read @149 NONAME
property_clear_error @158 NONAME == XCnbrep700009d
property_get_error @159 NONAME == XCnbrep700009e
property_search @162 NONAME property_search @162 NONAME
property_node_create @163 NONAME property_node_create @163 NONAME
property_node_name @168 NONAME == XCnbrep70000a7 property_node_name @168 NONAME == XCnbrep70000a7

View File

@ -21,6 +21,8 @@ EXPORTS
property_destroy @146 NONAME property_destroy @146 NONAME
property_desc_to_buffer @147 NONAME property_desc_to_buffer @147 NONAME
property_insert_read @149 NONAME property_insert_read @149 NONAME
property_clear_error @158 NONAME == XCgsqzn000009d
property_get_error @159 NONAME == XCgsqzn000009e
property_search @162 NONAME property_search @162 NONAME
property_node_create @163 NONAME property_node_create @163 NONAME
property_node_name @168 NONAME == XCgsqzn00000a7 property_node_name @168 NONAME == XCgsqzn00000a7

View File

@ -25,6 +25,8 @@ EXPORTS
property_destroy property_destroy
property_file_write property_file_write
property_insert_read property_insert_read
property_clear_error
property_get_error
property_mem_write property_mem_write
property_read_query_memsize property_read_query_memsize
property_search property_search

View File

@ -26,6 +26,8 @@ EXPORTS
property_desc_to_buffer @129 NONAME property_desc_to_buffer @129 NONAME
property_destroy @128 NONAME property_destroy @128 NONAME
property_insert_read @131 NONAME property_insert_read @131 NONAME
property_clear_error @573 NONAME
property_get_error @573 NONAME
property_node_create @145 NONAME property_node_create @145 NONAME
property_node_name @150 NONAME property_node_name @150 NONAME
property_node_read @154 NONAME == XCd229cc0000f3 property_node_read @154 NONAME == XCd229cc0000f3

View File

@ -26,6 +26,8 @@ EXPORTS
property_desc_to_buffer @129 NONAME property_desc_to_buffer @129 NONAME
property_destroy @128 NONAME property_destroy @128 NONAME
property_insert_read @131 NONAME property_insert_read @131 NONAME
property_clear_error @573 NONAME
property_get_error @573 NONAME
property_node_create @145 NONAME property_node_create @145 NONAME
property_node_name @573 NONAME == property_node_name @573 NONAME ==
property_node_read @573 NONAME == property_node_read @573 NONAME ==

View File

@ -19,6 +19,8 @@ EXPORTS
property_destroy @125 NONAME property_destroy @125 NONAME
property_desc_to_buffer @126 NONAME property_desc_to_buffer @126 NONAME
property_insert_read @128 NONAME property_insert_read @128 NONAME
property_clear_error @573 NONAME
property_get_error @573 NONAME
property_search @141 NONAME property_search @141 NONAME
property_node_create @142 NONAME property_node_create @142 NONAME
property_node_name @147 NONAME == XCnbrep7000092 property_node_name @147 NONAME == XCnbrep7000092

View File

@ -19,12 +19,14 @@ EXPORTS
property_destroy @146 NONAME property_destroy @146 NONAME
property_desc_to_buffer @147 NONAME property_desc_to_buffer @147 NONAME
property_insert_read @149 NONAME property_insert_read @149 NONAME
property_clear_error @158 NONAME == XCnbrep700009d
property_get_error @159 NONAME == XCnbrep700009e
property_search @162 NONAME property_search @162 NONAME
property_node_create @163 NONAME property_node_create @163 NONAME
property_node_name @168 NONAME == XCnbrep70000a7 property_node_name @168 NONAME == XCnbrep70000a7
property_node_remove @164 NONAME property_node_remove @164 NONAME
property_node_type @169 NONAME == XCnbrep70000a8 property_node_type @169 NONAME == XCnbrep70000a8
property_node_clone @165 NONAME property_node_clone @165 NONAME == XCnbrep70000a4
property_node_traversal @167 NONAME property_node_traversal @167 NONAME
property_node_refdata @166 NONAME == XCnbrep70000a5 property_node_refdata @166 NONAME == XCnbrep70000a5
property_node_datasize @171 NONAME == XCnbrep70000aa property_node_datasize @171 NONAME == XCnbrep70000aa

View File

@ -21,6 +21,8 @@ EXPORTS
property_destroy @146 NONAME property_destroy @146 NONAME
property_desc_to_buffer @147 NONAME property_desc_to_buffer @147 NONAME
property_insert_read @149 NONAME property_insert_read @149 NONAME
property_clear_error @158 NONAME == XCgsqzn000009d
property_get_error @159 NONAME == XCgsqzn000009e
property_search @162 NONAME property_search @162 NONAME
property_node_create @163 NONAME property_node_create @163 NONAME
property_node_name @168 NONAME == XCgsqzn00000a7 property_node_name @168 NONAME == XCgsqzn00000a7