oleaut32: Add a test for loading/saving an empty picture.
[wine] / dlls / winecrt0 / crt0_private.h
1 /*
2  * crt0 library private definitions
3  *
4  * Copyright 2005 Alexandre Julliard
5  *
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.
10  *
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.
15  *
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
19  */
20
21 #ifndef __WINE_CRT0_PRIVATE_H__
22 #define __WINE_CRT0_PRIVATE_H__
23
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
31
32 enum init_state
33 {
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) */
37 };
38
39 extern enum init_state __wine_spec_init_state DECLSPEC_HIDDEN;
40
41 #endif /* __WINE_CRT0_PRIVATE_H__ */