~ubuntu-branches/ubuntu/precise/openarena/precise

« back to all changes in this revision

Viewing changes to code/tools/lcc/src/null.c

  • Committer: Bazaar Package Importer
  • Author(s): Ansgar Burchardt
  • Date: 2008-09-05 21:14:51 UTC
  • mfrom: (1.2.1 upstream) (2.1.5 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080905211451-243bmbl6l6gdav7l
* Remove non-free code/tools/lcc (Closes: #496346)
  + Remove hunk from patch 10_fix_build_and_binary_on_alpha
  + debian/rules: Add BUILD_GAME_QVM=0 to $(MAKE) call
    (thanks to Peter De Wachter)
* Remove code/libs containing binary libraries for Mac OS X and Win32
* debian/copyright: Explain which parts of upstream's sources were removed
* debian/rules: replace ${source:Upstream-Version} by 0.7.7
  because the variable also contains the `+dfsg1' part
* Add -fsigned-char to compiler options (Closes: #487970)
  (thanks to Peter De Wachter)
* Add myself to Uploaders
* debian/control: Remove article from beginning of short description,
  don't start short description with a capital letter
* debian/openarena.6: Escape minus signs
  + fixes lintian warnings: hyphen-used-as-minus-sign

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#include "c.h"
2
 
#define I(f) null_##f
3
 
 
4
 
static Node I(gen)(Node p) { return p; }
5
 
static void I(address)(Symbol q, Symbol p, long n) {}
6
 
static void I(blockbeg)(Env *e) {}
7
 
static void I(blockend)(Env *e) {}
8
 
static void I(defaddress)(Symbol p) {}
9
 
static void I(defconst)(int suffix, int size, Value v) {}
10
 
static void I(defstring)(int len, char *s) {}
11
 
static void I(defsymbol)(Symbol p) {}
12
 
static void I(emit)(Node p) {}
13
 
static void I(export)(Symbol p) {}
14
 
static void I(function)(Symbol f, Symbol caller[], Symbol callee[], int ncalls) {}
15
 
static void I(global)(Symbol p) {}
16
 
static void I(import)(Symbol p) {}
17
 
static void I(local)(Symbol p) {}
18
 
static void I(progbeg)(int argc, char *argv[]) {}
19
 
static void I(progend)(void) {}
20
 
static void I(segment)(int s) {}
21
 
static void I(space)(int n) {}
22
 
static void I(stabblock)(int brace, int lev, Symbol *p) {}
23
 
static void I(stabend)(Coordinate *cp, Symbol p, Coordinate **cpp, Symbol *sp, Symbol *stab) {}
24
 
static void I(stabfend)(Symbol p, int lineno) {}
25
 
static void I(stabinit)(char *file, int argc, char *argv[]) {}
26
 
static void I(stabline)(Coordinate *cp) {}
27
 
static void I(stabsym)(Symbol p) {}
28
 
static void I(stabtype)(Symbol p) {}
29
 
 
30
 
 
31
 
Interface nullIR = {
32
 
        {1, 1, 0},      /* char */
33
 
        {2, 2, 0},      /* short */
34
 
        {4, 4, 0},      /* int */
35
 
        {8, 8, 1},      /* long */
36
 
        {8 ,8, 1},      /* long long */
37
 
        {4, 4, 1},      /* float */
38
 
        {8, 8, 1},      /* double */
39
 
        {16,16,1},      /* long double */
40
 
        {4, 4, 0},      /* T* */
41
 
        {0, 4, 0},      /* struct */
42
 
        1,              /* little_endian */
43
 
        0,              /* mulops_calls */
44
 
        0,              /* wants_callb */
45
 
        0,              /* wants_argb */
46
 
        1,              /* left_to_right */
47
 
        0,              /* wants_dag */
48
 
        0,              /* unsigned_char */
49
 
        I(address),
50
 
        I(blockbeg),
51
 
        I(blockend),
52
 
        I(defaddress),
53
 
        I(defconst),
54
 
        I(defstring),
55
 
        I(defsymbol),
56
 
        I(emit),
57
 
        I(export),
58
 
        I(function),
59
 
        I(gen),
60
 
        I(global),
61
 
        I(import),
62
 
        I(local),
63
 
        I(progbeg),
64
 
        I(progend),
65
 
        I(segment),
66
 
        I(space),
67
 
        I(stabblock),
68
 
        I(stabend),
69
 
        I(stabfend),
70
 
        I(stabinit),
71
 
        I(stabline),
72
 
        I(stabsym),
73
 
        I(stabtype)
74
 
};