polar-objc
5.44
An Objective-C runtime library
Loading...
Searching...
No Matches
polar-init-finalize.h
1
/* Internal API: runtime initialization and finalization for polar-objc.
2
Copyright (C) 2022-2025 Michael Malicoat <
[email protected]
>
3
4
This file is part of polar-objc.
5
6
polar-objc is free software; you can redistribute it and/or modify it under the terms of the GNU General Public
7
License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
8
9
polar-objc is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
10
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
11
details.
12
13
You should have received a copy of the GNU General Public License along with this program; see the file LICENSE. If
14
not, see <http://www.gnu.org/licenses/>.
15
*/
16
#ifndef POLAR_INIT_FINALIZE_H
17
#define POLAR_INIT_FINALIZE_H
18
19
// Called by __objc_exec_class()
20
POLAR_FUNCTION_INTERNAL
void
21
polar_init(
void
);
22
23
/* Called on process end. On most platforms, this is passed to atexit() and so must be a standard C function. */
24
void
25
polar_finalize(
void
);
26
27
#endif
//POLAR_INIT_FINALIZE_H
source
polar-internals
init-finalize
polar-init-finalize.h
Generated by
1.14.0