wined3d: Implement locally defined boolean and integer constants in GLSL.
[wine/multimedia.git] / dlls / winecrt0 / crt0_private.h
blob05cf75db94da249ef289d8e4e4797d19b69a5ab3
1 /*
2 * crt0 library private definitions
4 * Copyright 2005 Alexandre Julliard
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __WINE_CRT0_PRIVATE_H__
22 #define __WINE_CRT0_PRIVATE_H__
24 #ifdef __APPLE__
25 static inline void _init(int argc, char **argv, char **envp ) { /* nothing */ }
26 static inline void _fini(void) { /* nothing */ }
27 #else
28 extern void _init(int argc, char **argv, char **envp ) DECLSPEC_HIDDEN;
29 extern void _fini(void) DECLSPEC_HIDDEN;
30 #endif
32 enum init_state
34 NO_INIT_DONE, /* no initialization done yet */
35 DLL_REGISTERED, /* the dll has been registered */
36 CONSTRUCTORS_DONE /* the constructors have been run (implies dll registered too) */
39 extern enum init_state __wine_spec_init_state DECLSPEC_HIDDEN;
41 #endif /* __WINE_CRT0_PRIVATE_H__ */