← Back to C-Kernel-Engine Docs Doxygen Source Documentation
Loading...
Searching...
No Matches
ckernel_concat_i32.h
Go to the documentation of this file.
1#ifndef CKERNEL_CONCAT_I32_H
2#define CKERNEL_CONCAT_I32_H
3
4#include <stddef.h>
5#include <stdint.h>
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11/* Concatenate two nonempty i32 spans into caller-owned output. The inputs may
12 * overlap each other, but output must be disjoint. Invalid calls leave output
13 * unchanged. Return 0 on success, -1 for invalid/overlapping storage, and -2
14 * for invalid counts or insufficient capacity. */
15int ck_concat_i32_checked(const int32_t *left, size_t left_elements,
16 size_t left_count, const int32_t *right,
17 size_t right_elements, size_t right_count,
18 int32_t *output, size_t output_elements);
19
20#ifdef __cplusplus
21}
22#endif
23
24#endif
int ck_concat_i32_checked(const int32_t *left, size_t left_elements, size_t left_count, const int32_t *right, size_t right_elements, size_t right_count, int32_t *output, size_t output_elements)
const char * left
Definition true_bpe.h:140
const char const char * right
Definition true_bpe.h:141