File: scanexp.c

package info (click to toggle)
allegro4.2 2:4.2.0-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 24,436 kB
  • ctags: 14,714
  • sloc: ansic: 126,425; asm: 17,011; cpp: 3,846; sh: 2,120; objc: 925; makefile: 715; python: 216; pascal: 179; perl: 73
file content (40 lines) | stat: -rw-r--r-- 881 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
 * SCANEXP - serves as a support to scan the header files.
 *
 *  By Michael Rickmann.
 */


#define AL_VAR(type, name)                   allexpvar name##_sym
#define AL_FUNCPTR(type, name, args)         allexpfpt name##_sym
#define AL_ARRAY(type, name)                 allexparr name##_sym
#define AL_FUNC(type, name, args)            allexpfun name##_sym
#define AL_INLINE(type, name, args, code)    allexpinl name##_sym


#define ALLEGRO_LITTLE_ENDIAN
#define ALLEGRO_COLOR8
#define ALLEGRO_COLOR16
#define ALLEGRO_COLOR24
#define ALLEGRO_COLOR32
#define ALLEGRO_NO_COLORCOPY


#if defined ALLEGRO_API

   #include "allegro.h"

#elif defined ALLEGRO_WINAPI

   #define ALLEGRO_H
   #define ALLEGRO_WINDOWS
   #include "winalleg.h"
   #include "allegro/platform/alwin.h"

#elif defined ALLEGRO_INTERNALS

   #define ALLEGRO_H
   #include "allegro/internal/aintern.h"

#endif