diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-10-10 12:13:49 +0100 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2025-10-10 12:13:49 +0100 |
| commit | 98dac324e92d950ab9374de9c56169f7396246a4 (patch) | |
| tree | 45fa3c4fbe769e9e1d72af98672395639141220e /base | |
| parent | 26b3a4d182788a08ea1d9eb8d7c3b49235065cb6 (diff) | |
Add to `intrinsics.odin`
Diffstat (limited to 'base')
| -rw-r--r-- | base/intrinsics/intrinsics.odin | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/intrinsics/intrinsics.odin b/base/intrinsics/intrinsics.odin index 805d78594..952f927bd 100644 --- a/base/intrinsics/intrinsics.odin +++ b/base/intrinsics/intrinsics.odin @@ -348,6 +348,9 @@ simd_lanes_rotate_right :: proc(a: #simd[N]T, $offset: int) -> #simd[N]T --- has_target_feature :: proc($test: $T) -> bool where type_is_string(T) || type_is_proc(T) --- +// Utility Calls +concatentate :: proc(x, y: $T, z: ..T) -> T where type_is_array(T) || type_is_slice(T) --- + // Returns the value of the procedure where `x` must be a call expression procedure_of :: proc(x: $T) -> T where type_is_proc(T) --- |