File: exprval.h

package info (click to toggle)
libhtml-template-pro-perl 0.9524-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,512 kB
  • sloc: ansic: 1,841; perl: 1,474; yacc: 404; pascal: 118; makefile: 6
file content (30 lines) | stat: -rw-r--r-- 471 bytes parent folder | download | duplicates (5)
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
/* -*- c -*- 
 * File: exprval.h
 * Author: Igor Vlasenko <vlasenko@imath.kiev.ua>
 * Created: Mon Jul 20 21:10:57 2009
 */

#ifndef _EXPRVAL_H
#define _EXPRVAL_H	1

#include "exprtype.h"

typedef char EXPR_char;
struct exprval {
  EXPR_char type;
  union uval {
    EXPR_int64  intval; 	/* integer */
    double dblval;		/* double */
    PSTRING strval;
  } val;
};

#define NEW_EXPRVAL(X) { X }

#endif /* exprval.h */

/*
 *  Local Variables:
 *  mode: c
 *  End:
 */