summaryrefslogtreecommitdiffhomepage
path: root/lib/cxx-abi.hpp
blob: 56c47af72e37d059d6ecf1443fccceecd2d3bb82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* -------------------------------------------

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

------------------------------------------- */

#pragma once

#define DSO_MAX_OBJECTS (128)

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

typedef unsigned uarch_t;

namespace cxxabiv1 {
typedef void* __guard;
}