summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/NeKit/CxxAbi.h
blob: 164a257d3477f09e87d789a0ce55b9a339a1890c (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, all rights reserved.

------------------------------------------- */
#pragma once

#include <NeKit/Defines.h>

#ifndef __TOOLCHAINKIT__

#define kAtExitMacDestructors (128)

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

typedef unsigned uarch_t;

namespace cxxabiv1 {
typedef void* __guard;
}

#endif  // __GNUC__