mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Header fixes
- Fix conflict with RPU command_extra.h - Fix undefined debug_array_str error
This commit is contained in:
@@ -131,7 +131,7 @@ procedure remove_array_block(variable arr, variable blocksize, variable index);
|
||||
/**
|
||||
* Converts any array to string for debugging purposes
|
||||
*/
|
||||
procedure debug_array_str(variable arr);
|
||||
#define debug_array_str(arr) debug_array_str_deep(arr, 1)
|
||||
|
||||
#define display_array(arr) display_msg(debug_array_str(arr))
|
||||
|
||||
@@ -618,8 +618,6 @@ end
|
||||
Different utility functions...
|
||||
*/
|
||||
|
||||
#define debug_array_str(arr) debug_array_str_deep(arr, 1)
|
||||
|
||||
procedure debug_array_str_deep(variable arr, variable levels) begin
|
||||
#define _newline if (levels > 1) then s += "\n";
|
||||
#define _indent ii := 0; while (ii < levels - 1) do begin s += " "; ii++; end
|
||||
|
||||
Reference in New Issue
Block a user