diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-02-26 16:38:22 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-02-26 16:38:22 -0500 |
| commit | 12569cb933c0642a4fd1df074115cc21e198d677 (patch) | |
| tree | ea2f11e7e147999ded044657d336ba7bae84854f /stdlib/functiontype.c | |
| parent | 851ec4e29d18bf7ae33096365ef81ed981396db6 (diff) | |
Improved call stacks (using addr2line still)
Diffstat (limited to 'stdlib/functiontype.c')
| -rw-r--r-- | stdlib/functiontype.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/functiontype.c b/stdlib/functiontype.c index dc4d0c94..b02739a2 100644 --- a/stdlib/functiontype.c +++ b/stdlib/functiontype.c @@ -52,13 +52,13 @@ PUREFUNC static func_info_t *get_function_info(void *fn) return info; } -PUREFUNC public Text_t get_function_name(void *fn) +PUREFUNC public OptionalText_t get_function_name(void *fn) { func_info_t *info = get_function_info(fn); return info ? info->name : NONE_TEXT; } -PUREFUNC public Text_t get_function_filename(void *fn) +PUREFUNC public OptionalText_t get_function_filename(void *fn) { func_info_t *info = get_function_info(fn); return info ? info->filename : NONE_TEXT; |
