summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/NewKit/CxxAbi.h
blob: e6d83e07194b26eccfaf85205d22791c5333b4d3 (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
27
28
/* -------------------------------------------

	Copyright (C) 2024-2025, Amlal EL Mahrouss, all rights reserved.

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

#include <NewKit/Defines.h>

#ifndef __TOOLCHAINKIT__

#define kAtExitMacDestructors (128)

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

typedef unsigned uarch_t;

namespace cxxabiv1
{
	typedef void* __guard;
}

#endif // __GNUC__