campo-sirio/include/stdtypes.h
guy f9b9e70dbd applicat.cpp Aggiunta gestione chiave di protezione di rete
codeb.c        Corretta creazione nome tag delle chiavi
isam.h         Aggiunta put dei long double
relation.cpp   Corretta rewrite delle relazioni
stack.cpp      Aggiunto metodo remove_base
stack.h        Cambita derivazione da TArray a TObject
stdtypes.cpp   Aggiunto supporto per chiave di rete
stdtypes.h     Aggiunta chiamata get_serial_number(const char* )


git-svn-id: svn://10.65.10.50/trunk@4500 c028cbd2-c16b-5b4b-a496-9718f37d4682
1997-06-03 13:51:20 +00:00

97 lines
2.0 KiB
C
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef __STDTYPES_H
#define __STDTYPES_H
#ifdef XVT
#ifndef XVT_INCL_XVTENV
#include <xvt_env.h>
#endif
#endif
#define pure =0
#define FALSE 0
#define TRUE 1
#define HIDDEN static
#define EOL -1
#define NOERR 0
#define REFKEY "CAMPOKEY"
#define VERKEY "ìpÙˆ¬cê<"
// @doc EXTERNAL
// @type UINT8 | Altro nome di assegnazione per gli unsigned char
typedef unsigned char UINT8;
#ifdef M_I386
// @doc EXTERNAL
// @type UINT16 | Altro nome di assegnazione per gli unsigned short (se compilato a 32bit)
// oppure unsigned int (se non definito M_I386)
typedef unsigned short UINT16;
#else
typedef unsigned int UINT16;
#endif
// @doc EXTERNAL
// @type UINT32 | Altro nome di assegnazione per gli unsigned long
typedef unsigned long UINT32;
// @doc EXTERNAL
// @type INT8 | Altro nome di assegnazione per i char
typedef char INT8;
#ifdef M_I386
// @type INT16 | Altro nome di assegnazione per gli short (se compilato a 32bit)
// oppure int (se non definito M_I386)
typedef short INT16;
#else
typedef int INT16;
#endif
// @doc EXTERNAL
// @type INT32 | Altro nome di assegnazione per i long
typedef long INT32;
// @doc EXTERNAL
// @type bool | Tipo booleano che puo' assumere i valori TRUE (definito come 1)
// e FALSE (definito come 0).
typedef UINT8 bool;
// @doc EXTERNAL
// @type word | Tipo per la definizione di tipi di lunghezza pari a due byte
typedef UINT16 word;
// @doc EXTERNAL
// @type dword | Tipo per la definizione di tipi di lunghezza pari a quattro byte
typedef UINT32 dword;
// @doc EXTERNAL
// @type byte | Tipo per la definizione di tipi di lunghezza pari ad un byte
typedef UINT8 byte;
// @doc EXTERNAL
// @type KEY | Tipo per la definizione di variabili destinati a contenere i caratteri
// immessi da tastiera
typedef UINT16 KEY;
#define UNDEFINED -32767
#undef _SVID
int get_serial_number(const char* appname);
long get_std_level();
void init_global_vars();
void free_global_vars();
#ifdef __cplusplus
extern void* operator new(unsigned);
extern void operator delete(void*);
#endif
#endif // __STDTYPES_H