~ubuntu-branches/ubuntu/trusty/gnustep-base/trusty

« back to all changes in this revision

Viewing changes to Source/objc-load.h

Tags: upstream-1.11.2
ImportĀ upstreamĀ versionĀ 1.11.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
   
24
24
   You should have received a copy of the GNU Library General Public
25
25
   License along with this library; if not, write to the Free
26
 
   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
 
26
   Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
27
27
*/ 
28
28
 
29
29
#ifndef __objc_load_h_INCLUDE
39
39
#define LINKER_GETSYMBOL 0
40
40
#endif
41
41
 
 
42
#if     defined(__MINGW32__)
 
43
extern long objc_load_module(
 
44
        const unichar *filename,
 
45
        FILE *errorStream,
 
46
        void (*loadCallback)(Class, struct objc_category *),
 
47
        void **header,
 
48
        const unichar *debugFilename);
 
49
 
 
50
extern long objc_load_modules(
 
51
        const unichar *files[],
 
52
        FILE *errorStream,
 
53
        void (*callback)(Class,struct objc_category *),
 
54
        void **header,
 
55
        const unichar *debugFilename);
 
56
#else
42
57
extern long objc_load_module(
43
58
        const char *filename,
44
59
        FILE *errorStream,
45
60
        void (*loadCallback)(Class, struct objc_category *),
46
61
        void **header,
47
 
        char *debugFilename);
 
62
        const char *debugFilename);
 
63
 
 
64
extern long objc_load_modules(
 
65
        const char *files[],
 
66
        FILE *errorStream,
 
67
        void (*callback)(Class,struct objc_category *),
 
68
        void **header,
 
69
        const char *debugFilename);
 
70
#endif
48
71
 
49
72
extern long objc_unload_module(
50
73
        FILE *errorStream,
51
74
        void (*unloadCallback)(Class, struct objc_category *));
52
75
 
53
 
extern long objc_load_modules(
54
 
        char *files[],
55
 
        FILE *errorStream,
56
 
        void (*callback)(Class,struct objc_category *),
57
 
        void **header,
58
 
        char *debugFilename);
59
 
 
60
76
extern long objc_unload_modules(
61
77
        FILE *errorStream,
62
78
        void (*unloadCallback)(Class, struct objc_category *));