ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/libcpjit/cpjit.h.PL
(Generate patch)

Comparing cvsroot/libcpjit/cpjit.h.PL (file contents):
Revision 1.8 by root, Wed Oct 12 19:24:24 2005 UTC vs.
Revision 1.9 by root, Thu Oct 13 01:33:46 2005 UTC

101typedef int16_t I16; 101typedef int16_t I16;
102typedef uint32_t U32; 102typedef uint32_t U32;
103typedef int32_t I32; 103typedef int32_t I32;
104typedef uint64_t U64; 104typedef uint64_t U64;
105typedef int64_t I64; 105typedef int64_t I64;
106typedef float F32; 106typedef float FLT;
107typedef double F64; 107typedef double DBL;
108typedef void * PTR; 108typedef void * PTR;
109 109
110template<typename T> struct typestr { }; 110template<typename T> struct typestr { };
111 111
112template<> struct typestr<U8 > { static const char str[]; }; 112template<> struct typestr<U8 > { static const char str[]; };
115template<> struct typestr<U64 > { static const char str[]; }; 115template<> struct typestr<U64 > { static const char str[]; };
116template<> struct typestr<I8 > { static const char str[]; }; 116template<> struct typestr<I8 > { static const char str[]; };
117template<> struct typestr<I16 > { static const char str[]; }; 117template<> struct typestr<I16 > { static const char str[]; };
118template<> struct typestr<I32 > { static const char str[]; }; 118template<> struct typestr<I32 > { static const char str[]; };
119template<> struct typestr<I64 > { static const char str[]; }; 119template<> struct typestr<I64 > { static const char str[]; };
120template<> struct typestr<F32 > { static const char str[]; }; 120template<> struct typestr<FLT > { static const char str[]; };
121template<> struct typestr<F64 > { static const char str[]; }; 121template<> struct typestr<DBL > { static const char str[]; };
122template<> struct typestr<PTR > { static const char str[]; }; 122template<> struct typestr<PTR > { static const char str[]; };
123template<> struct typestr<U8 *> { static const char str[]; }; 123template<> struct typestr<U8 *> { static const char str[]; };
124template<> struct typestr<U16 *> { static const char str[]; }; 124template<> struct typestr<U16 *> { static const char str[]; };
125template<> struct typestr<U32 *> { static const char str[]; }; 125template<> struct typestr<U32 *> { static const char str[]; };
126template<> struct typestr<U64 *> { static const char str[]; }; 126template<> struct typestr<U64 *> { static const char str[]; };
127template<> struct typestr<I8 *> { static const char str[]; }; 127template<> struct typestr<I8 *> { static const char str[]; };
128template<> struct typestr<I16 *> { static const char str[]; }; 128template<> struct typestr<I16 *> { static const char str[]; };
129template<> struct typestr<I32 *> { static const char str[]; }; 129template<> struct typestr<I32 *> { static const char str[]; };
130template<> struct typestr<I64 *> { static const char str[]; }; 130template<> struct typestr<I64 *> { static const char str[]; };
131template<> struct typestr<F32 *> { static const char str[]; }; 131template<> struct typestr<FLT *> { static const char str[]; };
132template<> struct typestr<F64 *> { static const char str[]; }; 132template<> struct typestr<DBL *> { static const char str[]; };
133 133
134EOF 134EOF
135 135
136for (0 .. $CPJIT_MAX_ARGS) { 136for (0 .. $CPJIT_MAX_ARGS) {
137 print <<EOF; 137 print <<EOF;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines