The R Project SVN R

Rev

Rev 51039 | Rev 51948 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 51039 Rev 51627
Line 1... Line 1...
1
/*
1
/*
2
 *  R : A Computer Language for Statistical Data Analysis
2
 *  R : A Computer Language for Statistical Data Analysis
3
 *  file console.c
3
 *  file console.c
4
 *  Copyright (C) 1998--2003  Guido Masarotto and Brian Ripley
4
 *  Copyright (C) 1998--2003  Guido Masarotto and Brian Ripley
5
 *  Copyright (C) 2004-8      The R Foundation
5
 *  Copyright (C) 2004-8      The R Foundation
-
 
6
 *  Copyright (C) 2004-10     The R Core Team
6
 *
7
 *
7
 *  This program is free software; you can redistribute it and/or modify
8
 *  This program is free software; you can redistribute it and/or modify
8
 *  it under the terms of the GNU General Public License as published by
9
 *  it under the terms of the GNU General Public License as published by
9
 *  the Free Software Foundation; either version 2 of the License, or
10
 *  the Free Software Foundation; either version 2 of the License, or
10
 *  (at your option) any later version.
11
 *  (at your option) any later version.
Line 46... Line 47...
46
#include "rui.h"
47
#include "rui.h"
47
#include "getline/wc_history.h"
48
#include "getline/wc_history.h"
48
#include "Startup.h" /* for UImode */
49
#include "Startup.h" /* for UImode */
49
#include <Fileio.h>
50
#include <Fileio.h>
50
 
51
 
51
#ifdef WIN64
52
#include <stdint.h>
52
typedef unsigned short uint16_t;
-
 
53
typedef unsigned int uint32_t;
-
 
54
#endif
-
 
55
 
53
 
56
/* Surrogate Pairs Macro */
54
/* Surrogate Pairs Macro */
57
#define SURROGATE_PAIRS_HI_MIN  ((uint16_t)0xd800)
55
#define SURROGATE_PAIRS_HI_MIN  ((uint16_t)0xd800)
58
#define SURROGATE_PAIRS_HI_MAX  ((uint16_t)0xdbff)
56
#define SURROGATE_PAIRS_HI_MAX  ((uint16_t)0xdbff)
59
#define SURROGATE_PAIRS_LO_MIN  ((uint16_t)0xdc00)
57
#define SURROGATE_PAIRS_LO_MIN  ((uint16_t)0xdc00)