diff options
| author | Bradley Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-09-17 14:18:43 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-17 14:18:43 -0400 |
| commit | 761f556b80abe30d7b2b6c1c692d584eeff91795 (patch) | |
| tree | 7abdae22ddfdb46e4234d8127c41608ecc2fc037 /src/server/documentation.odin | |
| parent | 447384838549d4f4e68db9cc229ae7f4eb232c4e (diff) | |
| parent | 2d878af34c298d510e6c4f73bf3af9c3f1cd8a84 (diff) | |
Merge pull request #1025 from BradLewis/fix/add-proc-arg-tags
Fix/add proc arg tags
Diffstat (limited to 'src/server/documentation.odin')
| -rw-r--r-- | src/server/documentation.odin | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/server/documentation.odin b/src/server/documentation.odin index 0dc058f..25d9de3 100644 --- a/src/server/documentation.odin +++ b/src/server/documentation.odin @@ -478,6 +478,18 @@ get_bit_field_field_signature :: proc( write_proc_param_list_and_return :: proc(sb: ^strings.Builder, value: SymbolProcedureValue) { strings.write_string(sb, "(") for arg, i in value.orig_arg_types { + if .Any_Int in arg.flags { + strings.write_string(sb, "#any_int ") + } + if .By_Ptr in arg.flags { + strings.write_string(sb, "#by_ptr ") + } + if .C_Vararg in arg.flags { + strings.write_string(sb, "#c_vararg ") + } + if .No_Alias in arg.flags { + strings.write_string(sb, "#no_alias ") + } build_string_node(arg, sb, false) if i != len(value.orig_arg_types) - 1 { strings.write_string(sb, ", ") |