Patch level :2.1 nopatch
Files correlati : Ricompilazione Demo : [ ] Commento :risolti errori compilazione release;modifiche per linux git-svn-id: svn://10.65.10.50/trunk@12160 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
9b64e14553
commit
0e799c885f
@ -7,6 +7,7 @@
|
|||||||
#include <prefix.h>
|
#include <prefix.h>
|
||||||
#include <reprint.h>
|
#include <reprint.h>
|
||||||
#include <statbar.h>
|
#include <statbar.h>
|
||||||
|
#include <utility.h>
|
||||||
|
|
||||||
TVariant& TVariant_stack::peek(int depth)
|
TVariant& TVariant_stack::peek(int depth)
|
||||||
{
|
{
|
||||||
|
@ -494,3 +494,21 @@ const char * decode(
|
|||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//salta gli spazi bianchi ad inizio file
|
||||||
|
istream & eatwhite(istream & i)
|
||||||
|
{
|
||||||
|
#ifdef WIN32
|
||||||
|
i.eatwhite();
|
||||||
|
#else
|
||||||
|
char c;
|
||||||
|
while (i.get(c))
|
||||||
|
{
|
||||||
|
if (!isspace(c))
|
||||||
|
{
|
||||||
|
i.putback(c);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
return i;
|
||||||
|
}
|
@ -5,6 +5,10 @@
|
|||||||
#include <stdtypes.h>
|
#include <stdtypes.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __INCSTR_H
|
||||||
|
#include <../xvaga/incstr.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
class TString_array;
|
class TString_array;
|
||||||
class TFilename;
|
class TFilename;
|
||||||
|
|
||||||
@ -33,6 +37,8 @@ inline bool is_not_slash(char s) // @parm Carattere da confrontare
|
|||||||
const char* esc(const char* str); // Trasforma le sequenze "\n" nel carattere '\n'
|
const char* esc(const char* str); // Trasforma le sequenze "\n" nel carattere '\n'
|
||||||
const char* unesc(const char* str); // Trasforma i caratteri '\n' nella sequenza "\n"
|
const char* unesc(const char* str); // Trasforma i caratteri '\n' nella sequenza "\n"
|
||||||
|
|
||||||
|
istream& eatwhite (istream& i);
|
||||||
|
|
||||||
#define ODD(x) (x & 1)
|
#define ODD(x) (x & 1)
|
||||||
#define EVEN(x) !(x & 1)
|
#define EVEN(x) !(x & 1)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user