Click here to Skip to main content
15,884,472 members
Articles / Programming Languages / C++

Building a simple C++ script compiler from Scintilla and CINT

Rate me:
Please Sign up or sign in to vote.
4.73/5 (25 votes)
8 Jul 2006CPOL7 min read 153.9K   7.6K   85  
How to build a simple C++ script compiler from Scintilla and CINT.
/***********************************************************************
* VType.h , C++
*
************************************************************************
* Description:
*
***********************************************************************/

#ifndef VTYPE_H
#define VTYPE_H

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>

#define SUCCESS 0
#define FAILURE 1

/***********************************************************************
* C++ �̊�{�^�͕K�� typedef �ŕʖ���‚��Ďg�p���邱�ƁB
*
***********************************************************************/
typedef unsigned char Bool_t;
typedef int Int_t;
typedef short Short_t;
typedef unsigned int Uint_t;
typedef unsigned int Size_t;
typedef unsigned long Flags_t;
typedef long PVoid_t;
typedef double Double_t;
typedef float Float_t;
typedef char Char_t;

#define MIN(a,b) (a>b?b:a)
#define MAX(a,b) (a>b?a:b)

#define MATCH 1
#define UNMATCH 0

#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions