[go: up one dir, main page]

File: sablevm.h

package info (click to toggle)
sablevm 1.11.3-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 6,980 kB
  • ctags: 7,922
  • sloc: ansic: 116,013; sh: 8,679; makefile: 489
file content (43 lines) | stat: -rw-r--r-- 1,156 bytes parent folder | download | duplicates (2)
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
41
42
43
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * This source file is part of SableVM.                            *
 *                                                                 *
 * See the file "LICENSE" for the copyright information and for    *
 * the terms and conditions for copying, distribution and          *
 * modification of this source file.                               *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#ifndef SVM_SABLEVM_H
#define SVM_SABLEVM_H

#if defined(__GNUC__)
#define SVM_CAST_EXTENSION __extension__
#else
#define SVM_CAST_EXTENSION
#endif

/*
  Note: By not defining headers for static non-recursive
  functions, we give the compiler better opportunities
  to inline functions.
  The final result might look a little like Pascal;-).
*/

typedef struct property_struct property_t;
typedef struct property_info_struct property_info_t;

struct property_struct
{
  char *value;
  property_t *next;
};

struct property_info_struct
{
  property_t *tail;
  size_t count;
  size_t size;
};

int main (const int argc, const char *argv[]);

#endif /* not SVM_SABLEVM_H */