libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
Loading...
Searching...
No Matches
gimbal_typedefs.hpp
1#ifndef GIMBAL_TYPEDEFS_HPP
2#define GIMBAL_TYPEDEFS_HPP
3
5#include "../core/gimbal_ext.h"
6#include "../core/gimbal_api_generators.hpp"
7#include <type_traits>
8#include <string_view>
9#include <stdexcept>
10#include <cstring>
11#include <string>
12
13
14namespace gbl {
15
16 namespace tags { };
17
18 using Bool = ::GblBool;
19 using Size = ::GblSize;
20// using Float = ::GblFloat;
21 using Int = ::GblInt;
22 using UInt = ::GblUint;
23 using Enum = ::GblEnum;
24 using Hash = ::GblHash;
25 using FnPtr = ::GblFnPtr;
26 using Ptr = ::GblPtr;
27 using Hash = ::GblHash;
28 using RefCount = ::GblRefCount;
29
30class Class;
31//class Object;
32class Instance;
33
34
35class Context;
36class Handle;
37class Object;
38
39GBL_ENUM_TABLE_DECLARE_CPP(GBL_META_LOG_LEVEL_TABLE)
40//GBL_ENUM_TABLE_DECLARE_CPP(GBL_META_OBJECT_TYPE_TABLE);
41
42
43
44
45}
46
47#endif // GIMBAL_TYPEDEFS_HPP
uint32_t GblHash
Type representing a calculated numeric hash across the codebase.
uint32_t GblEnum
Standard-sized enum type, 32-bits across platforms.
void(* GblFnPtr)()
Type used for holding an untyped function pointer.
uint8_t GblBool
Basic boolean type, standardized to sizeof(char)
uint16_t GblRefCount
Type able to hold a reference counter across the codebase.