summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/NeKit/CxxAbi.h
blob: 7b13d6b3745e858c776bc64e8a0d97868406d5a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* ========================================

  Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license.

======================================== */
#pragma once

#include <NeKit/Defines.h>

#ifndef __NECTI__

#define kAtExitMacDestructors (128)

struct atexit_func_entry_t {
  void (*destructor_func)();
  void* obj_ptr;
  void* dso_handle;
};

typedef Kernel::UInt32 uarch_t;

namespace cxxabiv1 {
typedef Kernel::SizeT* __guard;
}

#endif  // !__NECTI__