idlize
1/*
2* Copyright (c) 2024 Huawei Device Co., Ltd.
3* Licensed under the Apache License, Version 2.0 (the "License");
4* you may not use this file except in compliance with the License.
5* You may obtain a copy of the License at
6*
7* http://www.apache.org/licenses/LICENSE-2.0
8*
9* Unless required by applicable law or agreed to in writing, software
10* distributed under the License is distributed on an "AS IS" BASIS,
11* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12* See the License for the specific language governing permissions and
13* limitations under the License.
14*/
15
16export type int32 = number17export type float32 = number18export type Int32ArrayPtr = Int32Array19export type Uint8ArrayPtr = Uint8Array20export type KInt = int3221export type KBoolean = int3222export type pointer = bigint23export type KPointer = pointer24export type KNativePointer = pointer25export type NodePointer = pointer26export type KStringPtr = int32 | string | null27export type KUint8ArrayPtr = int32 | Uint8Array | null28
29export type TypedArray =30Uint8Array
31| Int8Array32| Uint16Array33| Int16Array34| Uint32Array35| Int32Array36| Float32Array37| Float64Array