standalone-ruby 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/displayer.rb +2 -4
- data/lib/exe_packer.rb +1 -15
- data/lib/launcher.rb +4 -17
- data/lib/launcher_handler.rb +0 -12
- data/lib/parameter_parser.rb +0 -9
- data/lib/ruby_copy.rb +0 -6
- data/lib/sfx_generator.rb +0 -2
- data/lib/version/version.rb +1 -1
- metadata +2 -87
- data/lib/data/bat-cmd/default_bat_cmd.txt +0 -9
- data/lib/data/exe_template/launcher_stub.c +0 -30
- data/lib/data/exe_template/launcher_stub.cpp +0 -9
- data/lib/data/tcc/include/_mingw.h +0 -54
- data/lib/data/tcc/include/assert.h +0 -71
- data/lib/data/tcc/include/conio.h +0 -159
- data/lib/data/tcc/include/ctype.h +0 -232
- data/lib/data/tcc/include/dir.h +0 -26
- data/lib/data/tcc/include/direct.h +0 -95
- data/lib/data/tcc/include/dirent.h +0 -96
- data/lib/data/tcc/include/dos.h +0 -110
- data/lib/data/tcc/include/errno.h +0 -117
- data/lib/data/tcc/include/excpt.h +0 -20
- data/lib/data/tcc/include/fcntl.h +0 -135
- data/lib/data/tcc/include/fenv.h +0 -85
- data/lib/data/tcc/include/float.h +0 -224
- data/lib/data/tcc/include/inttypes.h +0 -275
- data/lib/data/tcc/include/io.h +0 -296
- data/lib/data/tcc/include/limits.h +0 -115
- data/lib/data/tcc/include/locale.h +0 -100
- data/lib/data/tcc/include/malloc.h +0 -87
- data/lib/data/tcc/include/math.h +0 -438
- data/lib/data/tcc/include/mem.h +0 -8
- data/lib/data/tcc/include/memory.h +0 -9
- data/lib/data/tcc/include/process.h +0 -158
- data/lib/data/tcc/include/setjmp.h +0 -72
- data/lib/data/tcc/include/share.h +0 -44
- data/lib/data/tcc/include/signal.h +0 -111
- data/lib/data/tcc/include/stdarg.h +0 -16
- data/lib/data/tcc/include/stdbool.h +0 -10
- data/lib/data/tcc/include/stddef.h +0 -26
- data/lib/data/tcc/include/stdint.h +0 -184
- data/lib/data/tcc/include/stdio.h +0 -413
- data/lib/data/tcc/include/stdlib.h +0 -482
- data/lib/data/tcc/include/string.h +0 -206
- data/lib/data/tcc/include/sys/fcntl.h +0 -8
- data/lib/data/tcc/include/sys/file.h +0 -9
- data/lib/data/tcc/include/sys/locking.h +0 -52
- data/lib/data/tcc/include/sys/stat.h +0 -190
- data/lib/data/tcc/include/sys/time.h +0 -3
- data/lib/data/tcc/include/sys/timeb.h +0 -82
- data/lib/data/tcc/include/sys/types.h +0 -118
- data/lib/data/tcc/include/sys/unistd.h +0 -9
- data/lib/data/tcc/include/sys/utime.h +0 -89
- data/lib/data/tcc/include/tchar.h +0 -367
- data/lib/data/tcc/include/time.h +0 -219
- data/lib/data/tcc/include/unistd.h +0 -10
- data/lib/data/tcc/include/values.h +0 -4
- data/lib/data/tcc/include/varargs.h +0 -11
- data/lib/data/tcc/include/wchar.h +0 -318
- data/lib/data/tcc/include/wctype.h +0 -127
- data/lib/data/tcc/include/winapi/basetsd.h +0 -119
- data/lib/data/tcc/include/winapi/basetyps.h +0 -144
- data/lib/data/tcc/include/winapi/winbase.h +0 -1852
- data/lib/data/tcc/include/winapi/wincon.h +0 -207
- data/lib/data/tcc/include/winapi/windef.h +0 -240
- data/lib/data/tcc/include/winapi/windows.h +0 -176
- data/lib/data/tcc/include/winapi/winerror.h +0 -1054
- data/lib/data/tcc/include/winapi/wingdi.h +0 -2843
- data/lib/data/tcc/include/winapi/winnetwk.h +0 -346
- data/lib/data/tcc/include/winapi/winnls.h +0 -651
- data/lib/data/tcc/include/winapi/winnt.h +0 -2667
- data/lib/data/tcc/include/winapi/winreg.h +0 -159
- data/lib/data/tcc/include/winapi/winsvc.h +0 -309
- data/lib/data/tcc/include/winapi/winuser.h +0 -3472
- data/lib/data/tcc/include/winapi/winver.h +0 -133
- data/lib/data/tcc/lib/gdi32.def +0 -337
- data/lib/data/tcc/lib/kernel32.def +0 -763
- data/lib/data/tcc/lib/libtcc1.a +0 -0
- data/lib/data/tcc/lib/msvcrt.def +0 -782
- data/lib/data/tcc/lib/user32.def +0 -654
- data/lib/data/tcc/tcc.exe +0 -0
- data/lib/data/tcc/tiny_impdef.exe +0 -0
- data/lib/data/tcc/tiny_libmaker.exe +0 -0
- data/lib/data/vbs/default_vbs.txt +0 -7
- data/lib/data/vbs/vbs_gui.txt +0 -8
- data/lib/logger_helper.rb +0 -24
- data/lib/utils/config_generator.rb +0 -5
- data/lib/utils/displayer.rb +0 -64
- data/lib/utils/exe_packer.rb +0 -72
- data/lib/utils/launcher.rb +0 -77
- data/lib/utils/launcher_handler.rb +0 -111
- data/lib/utils/logger_helper.rb +0 -24
- data/lib/utils/parameter_parser.rb +0 -211
- data/lib/utils/ruby_copy.rb +0 -26
@@ -1,159 +0,0 @@
|
|
1
|
-
/* A conio implementation for Mingw/Dev-C++.
|
2
|
-
*
|
3
|
-
* Written by:
|
4
|
-
* Hongli Lai <hongli@telekabel.nl>
|
5
|
-
* tkorrovi <tkorrovi@altavista.net> on 2002/02/26.
|
6
|
-
* Andrew Westcott <ajwestco@users.sourceforge.net>
|
7
|
-
*
|
8
|
-
* Offered for use in the public domain without any warranty.
|
9
|
-
*/
|
10
|
-
|
11
|
-
#ifndef _CONIO_H_
|
12
|
-
#define _CONIO_H_
|
13
|
-
|
14
|
-
|
15
|
-
#include <stdio.h>
|
16
|
-
|
17
|
-
#ifdef __cplusplus
|
18
|
-
extern "C" {
|
19
|
-
#endif
|
20
|
-
|
21
|
-
#define BLINK 0
|
22
|
-
|
23
|
-
typedef enum
|
24
|
-
{
|
25
|
-
BLACK,
|
26
|
-
BLUE,
|
27
|
-
GREEN,
|
28
|
-
CYAN,
|
29
|
-
RED,
|
30
|
-
MAGENTA,
|
31
|
-
BROWN,
|
32
|
-
LIGHTGRAY,
|
33
|
-
DARKGRAY,
|
34
|
-
LIGHTBLUE,
|
35
|
-
LIGHTGREEN,
|
36
|
-
LIGHTCYAN,
|
37
|
-
LIGHTRED,
|
38
|
-
LIGHTMAGENTA,
|
39
|
-
YELLOW,
|
40
|
-
WHITE
|
41
|
-
} COLORS;
|
42
|
-
|
43
|
-
|
44
|
-
#define cgets _cgets
|
45
|
-
#define cprintf _cprintf
|
46
|
-
#define cputs _cputs
|
47
|
-
#define cscanf _cscanf
|
48
|
-
#define ScreenClear clrscr
|
49
|
-
|
50
|
-
/* blinkvideo */
|
51
|
-
|
52
|
-
void clreol (void);
|
53
|
-
void clrscr (void);
|
54
|
-
|
55
|
-
int _conio_gettext (int left, int top, int right, int bottom,
|
56
|
-
char *str);
|
57
|
-
/* _conio_kbhit */
|
58
|
-
|
59
|
-
void delline (void);
|
60
|
-
|
61
|
-
/* gettextinfo */
|
62
|
-
void gotoxy(int x, int y);
|
63
|
-
/*
|
64
|
-
highvideo
|
65
|
-
insline
|
66
|
-
intensevideo
|
67
|
-
lowvideo
|
68
|
-
movetext
|
69
|
-
normvideo
|
70
|
-
*/
|
71
|
-
|
72
|
-
void puttext (int left, int top, int right, int bottom, char *str);
|
73
|
-
|
74
|
-
// Screen Variables
|
75
|
-
|
76
|
-
/* ScreenCols
|
77
|
-
ScreenGetChar
|
78
|
-
ScreenGetCursor
|
79
|
-
ScreenMode
|
80
|
-
ScreenPutChar
|
81
|
-
ScreenPutString
|
82
|
-
ScreenRetrieve
|
83
|
-
ScreenRows
|
84
|
-
ScreenSetCursor
|
85
|
-
ScreenUpdate
|
86
|
-
ScreenUpdateLine
|
87
|
-
ScreenVisualBell
|
88
|
-
_set_screen_lines */
|
89
|
-
|
90
|
-
void _setcursortype (int type);
|
91
|
-
|
92
|
-
void textattr (int _attr);
|
93
|
-
|
94
|
-
void textbackground (int color);
|
95
|
-
|
96
|
-
void textcolor (int color);
|
97
|
-
|
98
|
-
/* textmode */
|
99
|
-
|
100
|
-
int wherex (void);
|
101
|
-
|
102
|
-
int wherey (void);
|
103
|
-
|
104
|
-
/* window */
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
/* The code below was part of Mingw's conio.h */
|
109
|
-
/*
|
110
|
-
* conio.h
|
111
|
-
*
|
112
|
-
* Low level console I/O functions. Pretty please try to use the ANSI
|
113
|
-
* standard ones if you are writing new code.
|
114
|
-
*
|
115
|
-
* This file is part of the Mingw32 package.
|
116
|
-
*
|
117
|
-
* Contributors:
|
118
|
-
* Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
|
119
|
-
*
|
120
|
-
* THIS SOFTWARE IS NOT COPYRIGHTED
|
121
|
-
*
|
122
|
-
* This source code is offered for use in the public domain. You may
|
123
|
-
* use, modify or distribute it freely.
|
124
|
-
*
|
125
|
-
* This code is distributed in the hope that it will be useful but
|
126
|
-
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
127
|
-
* DISCLAMED. This includes but is not limited to warranties of
|
128
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
129
|
-
*
|
130
|
-
* $Revision: 1.2 $
|
131
|
-
* $Author: bellard $
|
132
|
-
* $Date: 2005/04/17 13:14:29 $
|
133
|
-
*
|
134
|
-
*/
|
135
|
-
|
136
|
-
char* _cgets (char*);
|
137
|
-
int _cprintf (const char*, ...);
|
138
|
-
int _cputs (const char*);
|
139
|
-
int _cscanf (char*, ...);
|
140
|
-
|
141
|
-
int _getch (void);
|
142
|
-
int _getche (void);
|
143
|
-
int _kbhit (void);
|
144
|
-
int _putch (int);
|
145
|
-
int _ungetch (int);
|
146
|
-
|
147
|
-
|
148
|
-
int getch (void);
|
149
|
-
int getche (void);
|
150
|
-
int kbhit (void);
|
151
|
-
int putch (int);
|
152
|
-
int ungetch (int);
|
153
|
-
|
154
|
-
|
155
|
-
#ifdef __cplusplus
|
156
|
-
}
|
157
|
-
#endif
|
158
|
-
|
159
|
-
#endif /* _CONIO_H_ */
|
@@ -1,232 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* ctype.h
|
3
|
-
*
|
4
|
-
* Functions for testing character types and converting characters.
|
5
|
-
*
|
6
|
-
* This file is part of the Mingw32 package.
|
7
|
-
*
|
8
|
-
* Contributors:
|
9
|
-
* Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
|
10
|
-
*
|
11
|
-
* THIS SOFTWARE IS NOT COPYRIGHTED
|
12
|
-
*
|
13
|
-
* This source code is offered for use in the public domain. You may
|
14
|
-
* use, modify or distribute it freely.
|
15
|
-
*
|
16
|
-
* This code is distributed in the hope that it will be useful but
|
17
|
-
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
18
|
-
* DISCLAIMED. This includes but is not limited to warranties of
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
20
|
-
*
|
21
|
-
* $Revision: 1.2 $
|
22
|
-
* $Author: bellard $
|
23
|
-
* $Date: 2005/04/17 13:14:29 $
|
24
|
-
*
|
25
|
-
*/
|
26
|
-
|
27
|
-
#ifndef _CTYPE_H_
|
28
|
-
#define _CTYPE_H_
|
29
|
-
|
30
|
-
/* All the headers include this file. */
|
31
|
-
#include <_mingw.h>
|
32
|
-
|
33
|
-
#define __need_wchar_t
|
34
|
-
#define __need_wint_t
|
35
|
-
#ifndef RC_INVOKED
|
36
|
-
#include <stddef.h>
|
37
|
-
#endif /* Not RC_INVOKED */
|
38
|
-
|
39
|
-
|
40
|
-
/*
|
41
|
-
* The following flags are used to tell iswctype and _isctype what character
|
42
|
-
* types you are looking for.
|
43
|
-
*/
|
44
|
-
#define _UPPER 0x0001
|
45
|
-
#define _LOWER 0x0002
|
46
|
-
#define _DIGIT 0x0004
|
47
|
-
#define _SPACE 0x0008 /* HT LF VT FF CR SP */
|
48
|
-
#define _PUNCT 0x0010
|
49
|
-
#define _CONTROL 0x0020
|
50
|
-
#define _BLANK 0x0040 /* this is SP only, not SP and HT as in C99 */
|
51
|
-
#define _HEX 0x0080
|
52
|
-
#define _LEADBYTE 0x8000
|
53
|
-
|
54
|
-
#define _ALPHA 0x0103
|
55
|
-
|
56
|
-
#ifndef RC_INVOKED
|
57
|
-
|
58
|
-
#ifdef __cplusplus
|
59
|
-
extern "C" {
|
60
|
-
#endif
|
61
|
-
|
62
|
-
int isalnum(int);
|
63
|
-
int isalpha(int);
|
64
|
-
int iscntrl(int);
|
65
|
-
int isdigit(int);
|
66
|
-
int isgraph(int);
|
67
|
-
int islower(int);
|
68
|
-
int isprint(int);
|
69
|
-
int ispunct(int);
|
70
|
-
int isspace(int);
|
71
|
-
int isupper(int);
|
72
|
-
int isxdigit(int);
|
73
|
-
|
74
|
-
#ifndef __STRICT_ANSI__
|
75
|
-
int _isctype (int, int);
|
76
|
-
#endif
|
77
|
-
|
78
|
-
/* These are the ANSI versions, with correct checking of argument */
|
79
|
-
int tolower(int);
|
80
|
-
int toupper(int);
|
81
|
-
|
82
|
-
/*
|
83
|
-
* NOTE: The above are not old name type wrappers, but functions exported
|
84
|
-
* explicitly by MSVCRT/CRTDLL. However, underscored versions are also
|
85
|
-
* exported.
|
86
|
-
*/
|
87
|
-
#ifndef __STRICT_ANSI__
|
88
|
-
/*
|
89
|
-
* These are the cheap non-std versions: The return values are undefined
|
90
|
-
* if the argument is not ASCII char or is not of appropriate case
|
91
|
-
*/
|
92
|
-
int _tolower(int);
|
93
|
-
int _toupper(int);
|
94
|
-
#endif
|
95
|
-
|
96
|
-
/* Also defined in stdlib.h */
|
97
|
-
#ifndef MB_CUR_MAX
|
98
|
-
# ifdef __MSVCRT__
|
99
|
-
# define MB_CUR_MAX __mb_cur_max
|
100
|
-
__MINGW_IMPORT int __mb_cur_max;
|
101
|
-
# else /* not __MSVCRT */
|
102
|
-
# define MB_CUR_MAX __mb_cur_max_dll
|
103
|
-
__MINGW_IMPORT int __mb_cur_max_dll;
|
104
|
-
# endif /* not __MSVCRT */
|
105
|
-
#endif /* MB_CUR_MAX */
|
106
|
-
|
107
|
-
__MINGW_IMPORT unsigned short _ctype[];
|
108
|
-
#ifdef __MSVCRT__
|
109
|
-
__MINGW_IMPORT unsigned short* _pctype;
|
110
|
-
#else /* CRTDLL */
|
111
|
-
__MINGW_IMPORT unsigned short* _pctype_dll;
|
112
|
-
#define _pctype _pctype_dll
|
113
|
-
#endif
|
114
|
-
|
115
|
-
/*
|
116
|
-
* Use inlines here rather than macros, because macros will upset
|
117
|
-
* C++ usage (eg, ::isalnum), and so usually get undefined
|
118
|
-
*
|
119
|
-
* According to standard for SB chars, these function are defined only
|
120
|
-
* for input values representable by unsigned char or EOF.
|
121
|
-
* Thus, there is no range test.
|
122
|
-
* This reproduces behaviour of MSVCRT.dll lib implemention for SB chars.
|
123
|
-
*
|
124
|
-
* If no MB char support is needed, these can be simplified even
|
125
|
-
* more by command line define -DMB_CUR_MAX=1. The compiler will then
|
126
|
-
* optimise away the constant condition.
|
127
|
-
*/
|
128
|
-
|
129
|
-
|
130
|
-
#if ! (defined (__NO_CTYPE_INLINES) || defined (__STRICT_ANSI__ ))
|
131
|
-
/* use simple lookup if SB locale, else _isctype() */
|
132
|
-
#define __ISCTYPE(c, mask) (MB_CUR_MAX == 1 ? (_pctype[c] & mask) : _isctype(c, mask))
|
133
|
-
extern __inline__ int isalnum(int c) {return __ISCTYPE(c, (_ALPHA|_DIGIT));}
|
134
|
-
extern __inline__ int isalpha(int c) {return __ISCTYPE(c, _ALPHA);}
|
135
|
-
extern __inline__ int iscntrl(int c) {return __ISCTYPE(c, _CONTROL);}
|
136
|
-
extern __inline__ int isdigit(int c) {return __ISCTYPE(c, _DIGIT);}
|
137
|
-
extern __inline__ int isgraph(int c) {return __ISCTYPE(c, (_PUNCT|_ALPHA|_DIGIT));}
|
138
|
-
extern __inline__ int islower(int c) {return __ISCTYPE(c, _LOWER);}
|
139
|
-
extern __inline__ int isprint(int c) {return __ISCTYPE(c, (_BLANK|_PUNCT|_ALPHA|_DIGIT));}
|
140
|
-
extern __inline__ int ispunct(int c) {return __ISCTYPE(c, _PUNCT);}
|
141
|
-
extern __inline__ int isspace(int c) {return __ISCTYPE(c, _SPACE);}
|
142
|
-
extern __inline__ int isupper(int c) {return __ISCTYPE(c, _UPPER);}
|
143
|
-
extern __inline__ int isxdigit(int c) {return __ISCTYPE(c, _HEX);}
|
144
|
-
|
145
|
-
/* these reproduce behaviour of lib underscored versions */
|
146
|
-
extern __inline__ int _tolower(int c) {return ( c -'A'+'a');}
|
147
|
-
extern __inline__ int _toupper(int c) {return ( c -'a'+'A');}
|
148
|
-
|
149
|
-
/* TODO? Is it worth inlining ANSI tolower, toupper? Probably only
|
150
|
-
if we only want C-locale. */
|
151
|
-
|
152
|
-
#endif /* _NO_CTYPE_INLINES */
|
153
|
-
|
154
|
-
/* Wide character equivalents */
|
155
|
-
|
156
|
-
#ifndef WEOF
|
157
|
-
#define WEOF (wchar_t)(0xFFFF)
|
158
|
-
#endif
|
159
|
-
|
160
|
-
#ifndef _WCTYPE_T_DEFINED
|
161
|
-
typedef wchar_t wctype_t;
|
162
|
-
#define _WCTYPE_T_DEFINED
|
163
|
-
#endif
|
164
|
-
|
165
|
-
int iswalnum(wint_t);
|
166
|
-
int iswalpha(wint_t);
|
167
|
-
int iswascii(wint_t);
|
168
|
-
int iswcntrl(wint_t);
|
169
|
-
int iswctype(wint_t, wctype_t);
|
170
|
-
int is_wctype(wint_t, wctype_t); /* Obsolete! */
|
171
|
-
int iswdigit(wint_t);
|
172
|
-
int iswgraph(wint_t);
|
173
|
-
int iswlower(wint_t);
|
174
|
-
int iswprint(wint_t);
|
175
|
-
int iswpunct(wint_t);
|
176
|
-
int iswspace(wint_t);
|
177
|
-
int iswupper(wint_t);
|
178
|
-
int iswxdigit(wint_t);
|
179
|
-
|
180
|
-
wchar_t towlower(wchar_t);
|
181
|
-
wchar_t towupper(wchar_t);
|
182
|
-
|
183
|
-
int isleadbyte (int);
|
184
|
-
|
185
|
-
/* Also in wctype.h */
|
186
|
-
#if ! (defined(__NO_CTYPE_INLINES) || defined(__WCTYPE_INLINES_DEFINED))
|
187
|
-
#define __WCTYPE_INLINES_DEFINED
|
188
|
-
extern __inline__ int iswalnum(wint_t wc) {return (iswctype(wc,_ALPHA|_DIGIT));}
|
189
|
-
extern __inline__ int iswalpha(wint_t wc) {return (iswctype(wc,_ALPHA));}
|
190
|
-
extern __inline__ int iswascii(wint_t wc) {return (((unsigned)wc & 0x7F) ==0);}
|
191
|
-
extern __inline__ int iswcntrl(wint_t wc) {return (iswctype(wc,_CONTROL));}
|
192
|
-
extern __inline__ int iswdigit(wint_t wc) {return (iswctype(wc,_DIGIT));}
|
193
|
-
extern __inline__ int iswgraph(wint_t wc) {return (iswctype(wc,_PUNCT|_ALPHA|_DIGIT));}
|
194
|
-
extern __inline__ int iswlower(wint_t wc) {return (iswctype(wc,_LOWER));}
|
195
|
-
extern __inline__ int iswprint(wint_t wc) {return (iswctype(wc,_BLANK|_PUNCT|_ALPHA|_DIGIT));}
|
196
|
-
extern __inline__ int iswpunct(wint_t wc) {return (iswctype(wc,_PUNCT));}
|
197
|
-
extern __inline__ int iswspace(wint_t wc) {return (iswctype(wc,_SPACE));}
|
198
|
-
extern __inline__ int iswupper(wint_t wc) {return (iswctype(wc,_UPPER));}
|
199
|
-
extern __inline__ int iswxdigit(wint_t wc) {return (iswctype(wc,_HEX));}
|
200
|
-
extern __inline__ int isleadbyte(int c) {return (_pctype[(unsigned char)(c)] & _LEADBYTE);}
|
201
|
-
#endif /* !(defined(__NO_CTYPE_INLINES) || defined(__WCTYPE_INLINES_DEFINED)) */
|
202
|
-
|
203
|
-
#ifndef __STRICT_ANSI__
|
204
|
-
int __isascii (int);
|
205
|
-
int __toascii (int);
|
206
|
-
int __iscsymf (int); /* Valid first character in C symbol */
|
207
|
-
int __iscsym (int); /* Valid character in C symbol (after first) */
|
208
|
-
|
209
|
-
#ifndef __NO_CTYPE_INLINES
|
210
|
-
extern __inline__ int __isascii(int c) {return (((unsigned)c & ~0x7F) == 0);}
|
211
|
-
extern __inline__ int __toascii(int c) {return (c & 0x7F);}
|
212
|
-
extern __inline__ int __iscsymf(int c) {return (isalpha(c) || (c == '_'));}
|
213
|
-
extern __inline__ int __iscsym(int c) {return (isalnum(c) || (c == '_'));}
|
214
|
-
#endif /* __NO_CTYPE_INLINES */
|
215
|
-
|
216
|
-
#ifndef _NO_OLDNAMES
|
217
|
-
int isascii (int);
|
218
|
-
int toascii (int);
|
219
|
-
int iscsymf (int);
|
220
|
-
int iscsym (int);
|
221
|
-
#endif /* Not _NO_OLDNAMES */
|
222
|
-
|
223
|
-
#endif /* Not __STRICT_ANSI__ */
|
224
|
-
|
225
|
-
#ifdef __cplusplus
|
226
|
-
}
|
227
|
-
#endif
|
228
|
-
|
229
|
-
#endif /* Not RC_INVOKED */
|
230
|
-
|
231
|
-
#endif /* Not _CTYPE_H_ */
|
232
|
-
|
data/lib/data/tcc/include/dir.h
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* dir.h
|
3
|
-
*
|
4
|
-
* This file OBSOLESCENT and only provided for backward compatibility.
|
5
|
-
* Please use io.h instead.
|
6
|
-
*
|
7
|
-
* This file is part of the Mingw32 package.
|
8
|
-
*
|
9
|
-
* Contributors:
|
10
|
-
* Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
|
11
|
-
* Mumit Khan <khan@xraylith.wisc.edu>
|
12
|
-
*
|
13
|
-
* THIS SOFTWARE IS NOT COPYRIGHTED
|
14
|
-
*
|
15
|
-
* This source code is offered for use in the public domain. You may
|
16
|
-
* use, modify or distribute it freely.
|
17
|
-
*
|
18
|
-
* This code is distributed in the hope that it will be useful but
|
19
|
-
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
20
|
-
* DISCLAIMED. This includes but is not limited to warranties of
|
21
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
22
|
-
*
|
23
|
-
*/
|
24
|
-
|
25
|
-
#include <io.h>
|
26
|
-
|
@@ -1,95 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* direct.h
|
3
|
-
*
|
4
|
-
* Functions for manipulating paths and directories (included from io.h)
|
5
|
-
* plus functions for setting the current drive.
|
6
|
-
*
|
7
|
-
* This file is part of the Mingw32 package.
|
8
|
-
*
|
9
|
-
* Contributors:
|
10
|
-
* Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
|
11
|
-
*
|
12
|
-
* THIS SOFTWARE IS NOT COPYRIGHTED
|
13
|
-
*
|
14
|
-
* This source code is offered for use in the public domain. You may
|
15
|
-
* use, modify or distribute it freely.
|
16
|
-
*
|
17
|
-
* This code is distributed in the hope that it will be useful but
|
18
|
-
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
19
|
-
* DISCLAIMED. This includes but is not limited to warranties of
|
20
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
21
|
-
*
|
22
|
-
* $Revision: 1.2 $
|
23
|
-
* $Author: bellard $
|
24
|
-
* $Date: 2005/04/17 13:14:29 $
|
25
|
-
*
|
26
|
-
*/
|
27
|
-
|
28
|
-
#ifndef __STRICT_ANSI__
|
29
|
-
|
30
|
-
#ifndef _DIRECT_H_
|
31
|
-
#define _DIRECT_H_
|
32
|
-
|
33
|
-
/* All the headers include this file. */
|
34
|
-
#include <_mingw.h>
|
35
|
-
|
36
|
-
#define __need_wchar_t
|
37
|
-
#ifndef RC_INVOKED
|
38
|
-
#include <stddef.h>
|
39
|
-
#endif /* Not RC_INVOKED */
|
40
|
-
|
41
|
-
#include <io.h>
|
42
|
-
|
43
|
-
#ifndef RC_INVOKED
|
44
|
-
|
45
|
-
#ifdef __cplusplus
|
46
|
-
extern "C" {
|
47
|
-
#endif
|
48
|
-
|
49
|
-
#ifndef _DISKFREE_T_DEFINED
|
50
|
-
/* needed by _getdiskfree (also in dos.h) */
|
51
|
-
struct _diskfree_t {
|
52
|
-
unsigned total_clusters;
|
53
|
-
unsigned avail_clusters;
|
54
|
-
unsigned sectors_per_cluster;
|
55
|
-
unsigned bytes_per_sector;
|
56
|
-
};
|
57
|
-
#define _DISKFREE_T_DEFINED
|
58
|
-
#endif
|
59
|
-
|
60
|
-
/*
|
61
|
-
* You really shouldn't be using these. Use the Win32 API functions instead.
|
62
|
-
* However, it does make it easier to port older code.
|
63
|
-
*/
|
64
|
-
int _getdrive (void);
|
65
|
-
unsigned long _getdrives(void);
|
66
|
-
int _chdrive (int);
|
67
|
-
char* _getdcwd (int, char*, int);
|
68
|
-
unsigned _getdiskfree (unsigned, struct _diskfree_t *);
|
69
|
-
|
70
|
-
#ifndef _NO_OLDNAMES
|
71
|
-
# define diskfree_t _diskfree_t
|
72
|
-
#endif
|
73
|
-
|
74
|
-
#ifndef _WDIRECT_DEFINED
|
75
|
-
/* wide character versions. Also in wchar.h */
|
76
|
-
#ifdef __MSVCRT__
|
77
|
-
int _wchdir(const wchar_t*);
|
78
|
-
wchar_t* _wgetcwd(wchar_t*, int);
|
79
|
-
wchar_t* _wgetdcwd(int, wchar_t*, int);
|
80
|
-
int _wmkdir(const wchar_t*);
|
81
|
-
int _wrmdir(const wchar_t*);
|
82
|
-
#endif /* __MSVCRT__ */
|
83
|
-
#define _WDIRECT_DEFINED
|
84
|
-
#endif
|
85
|
-
|
86
|
-
#ifdef __cplusplus
|
87
|
-
}
|
88
|
-
#endif
|
89
|
-
|
90
|
-
#endif /* Not RC_INVOKED */
|
91
|
-
|
92
|
-
#endif /* Not _DIRECT_H_ */
|
93
|
-
|
94
|
-
#endif /* Not __STRICT_ANSI__ */
|
95
|
-
|
@@ -1,96 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* DIRENT.H (formerly DIRLIB.H)
|
3
|
-
*
|
4
|
-
* by M. J. Weinstein Released to public domain 1-Jan-89
|
5
|
-
*
|
6
|
-
* Because I have heard that this feature (opendir, readdir, closedir)
|
7
|
-
* it so useful for programmers coming from UNIX or attempting to port
|
8
|
-
* UNIX code, and because it is reasonably light weight, I have included
|
9
|
-
* it in the Mingw32 package. I have also added an implementation of
|
10
|
-
* rewinddir, seekdir and telldir.
|
11
|
-
* - Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
|
12
|
-
*
|
13
|
-
* This code is distributed in the hope that is will be useful but
|
14
|
-
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
15
|
-
* DISCLAIMED. This includeds but is not limited to warranties of
|
16
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
17
|
-
*
|
18
|
-
* $Revision: 1.2 $
|
19
|
-
* $Author: bellard $
|
20
|
-
* $Date: 2005/04/17 13:14:29 $
|
21
|
-
*
|
22
|
-
*/
|
23
|
-
|
24
|
-
#ifndef __STRICT_ANSI__
|
25
|
-
|
26
|
-
#ifndef _DIRENT_H_
|
27
|
-
#define _DIRENT_H_
|
28
|
-
|
29
|
-
/* All the headers include this file. */
|
30
|
-
#include <_mingw.h>
|
31
|
-
|
32
|
-
#include <io.h>
|
33
|
-
|
34
|
-
#ifndef RC_INVOKED
|
35
|
-
|
36
|
-
#ifdef __cplusplus
|
37
|
-
extern "C" {
|
38
|
-
#endif
|
39
|
-
|
40
|
-
struct dirent
|
41
|
-
{
|
42
|
-
long d_ino; /* Always zero. */
|
43
|
-
unsigned short d_reclen; /* Always zero. */
|
44
|
-
unsigned short d_namlen; /* Length of name in d_name. */
|
45
|
-
char* d_name; /* File name. */
|
46
|
-
/* NOTE: The name in the dirent structure points to the name in the
|
47
|
-
* finddata_t structure in the DIR. */
|
48
|
-
};
|
49
|
-
|
50
|
-
/*
|
51
|
-
* This is an internal data structure. Good programmers will not use it
|
52
|
-
* except as an argument to one of the functions below.
|
53
|
-
*/
|
54
|
-
typedef struct
|
55
|
-
{
|
56
|
-
/* disk transfer area for this dir */
|
57
|
-
struct _finddata_t dd_dta;
|
58
|
-
|
59
|
-
/* dirent struct to return from dir (NOTE: this makes this thread
|
60
|
-
* safe as long as only one thread uses a particular DIR struct at
|
61
|
-
* a time) */
|
62
|
-
struct dirent dd_dir;
|
63
|
-
|
64
|
-
/* _findnext handle */
|
65
|
-
long dd_handle;
|
66
|
-
|
67
|
-
/*
|
68
|
-
* Status of search:
|
69
|
-
* 0 = not started yet (next entry to read is first entry)
|
70
|
-
* -1 = off the end
|
71
|
-
* positive = 0 based index of next entry
|
72
|
-
*/
|
73
|
-
short dd_stat;
|
74
|
-
|
75
|
-
/* given path for dir with search pattern (struct is extended) */
|
76
|
-
char dd_name[1];
|
77
|
-
} DIR;
|
78
|
-
|
79
|
-
|
80
|
-
DIR* opendir (const char*);
|
81
|
-
struct dirent* readdir (DIR*);
|
82
|
-
int closedir (DIR*);
|
83
|
-
void rewinddir (DIR*);
|
84
|
-
long telldir (DIR*);
|
85
|
-
void seekdir (DIR*, long);
|
86
|
-
|
87
|
-
#ifdef __cplusplus
|
88
|
-
}
|
89
|
-
#endif
|
90
|
-
|
91
|
-
#endif /* Not RC_INVOKED */
|
92
|
-
|
93
|
-
#endif /* Not _DIRENT_H_ */
|
94
|
-
|
95
|
-
#endif /* Not __STRICT_ANSI__ */
|
96
|
-
|
data/lib/data/tcc/include/dos.h
DELETED
@@ -1,110 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* dos.h
|
3
|
-
*
|
4
|
-
* DOS-specific functions and structures.
|
5
|
-
*
|
6
|
-
* This file is part of the Mingw32 package.
|
7
|
-
*
|
8
|
-
* Contributors:
|
9
|
-
* Created by J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
|
10
|
-
*
|
11
|
-
* THIS SOFTWARE IS NOT COPYRIGHTED
|
12
|
-
*
|
13
|
-
* This source code is offered for use in the public domain. You may
|
14
|
-
* use, modify or distribute it freely.
|
15
|
-
*
|
16
|
-
* This code is distributed in the hope that it will be useful but
|
17
|
-
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
18
|
-
* DISCLAIMED. This includes but is not limited to warranties of
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
20
|
-
*
|
21
|
-
* $Revision: 1.2 $
|
22
|
-
* $Author: bellard $
|
23
|
-
* $Date: 2005/04/17 13:14:29 $
|
24
|
-
*
|
25
|
-
*/
|
26
|
-
|
27
|
-
#ifndef __STRICT_ANSI__
|
28
|
-
|
29
|
-
#ifndef _DOS_H_
|
30
|
-
#define _DOS_H_
|
31
|
-
|
32
|
-
/* All the headers include this file. */
|
33
|
-
#include <_mingw.h>
|
34
|
-
|
35
|
-
#define __need_wchar_t
|
36
|
-
#ifndef RC_INVOKED
|
37
|
-
#include <stddef.h>
|
38
|
-
#endif /* Not RC_INVOKED */
|
39
|
-
|
40
|
-
/* For DOS file attributes */
|
41
|
-
#include <io.h>
|
42
|
-
|
43
|
-
#ifndef RC_INVOKED
|
44
|
-
|
45
|
-
#ifdef __cplusplus
|
46
|
-
extern "C" {
|
47
|
-
#endif
|
48
|
-
|
49
|
-
#ifndef __MSVCRT__ /* these are in CRTDLL, but not MSVCRT */
|
50
|
-
#ifndef __DECLSPEC_SUPPORTED
|
51
|
-
extern unsigned int *__imp__basemajor_dll;
|
52
|
-
extern unsigned int *__imp__baseminor_dll;
|
53
|
-
extern unsigned int *__imp__baseversion_dll;
|
54
|
-
extern unsigned int *__imp__osmajor_dll;
|
55
|
-
extern unsigned int *__imp__osminor_dll;
|
56
|
-
extern unsigned int *__imp__osmode_dll;
|
57
|
-
|
58
|
-
#define _basemajor (*__imp__basemajor_dll)
|
59
|
-
#define _baseminor (*__imp__baseminor_dll)
|
60
|
-
#define _baseversion (*__imp__baseversion_dll)
|
61
|
-
#define _osmajor (*__imp__osmajor_dll)
|
62
|
-
#define _osminor (*__imp__osminor_dll)
|
63
|
-
#define _osmode (*__imp__osmode_dll)
|
64
|
-
|
65
|
-
#else /* __DECLSPEC_SUPPORTED */
|
66
|
-
|
67
|
-
__MINGW_IMPORT unsigned int _basemajor_dll;
|
68
|
-
__MINGW_IMPORT unsigned int _baseminor_dll;
|
69
|
-
__MINGW_IMPORT unsigned int _baseversion_dll;
|
70
|
-
__MINGW_IMPORT unsigned int _osmajor_dll;
|
71
|
-
__MINGW_IMPORT unsigned int _osminor_dll;
|
72
|
-
__MINGW_IMPORT unsigned int _osmode_dll;
|
73
|
-
|
74
|
-
#define _basemajor _basemajor_dll
|
75
|
-
#define _baseminor _baseminor_dll
|
76
|
-
#define _baseversion _baseversion_dll
|
77
|
-
#define _osmajor _osmajor_dll
|
78
|
-
#define _osminor _osminor_dll
|
79
|
-
#define _osmode _osmode_dll
|
80
|
-
|
81
|
-
#endif /* __DECLSPEC_SUPPORTED */
|
82
|
-
#endif /* ! __MSVCRT__ */
|
83
|
-
|
84
|
-
#ifndef _DISKFREE_T_DEFINED
|
85
|
-
/* needed by _getdiskfree (also in direct.h) */
|
86
|
-
struct _diskfree_t {
|
87
|
-
unsigned total_clusters;
|
88
|
-
unsigned avail_clusters;
|
89
|
-
unsigned sectors_per_cluster;
|
90
|
-
unsigned bytes_per_sector;
|
91
|
-
};
|
92
|
-
#define _DISKFREE_T_DEFINED
|
93
|
-
#endif
|
94
|
-
|
95
|
-
unsigned _getdiskfree (unsigned, struct _diskfree_t *);
|
96
|
-
|
97
|
-
#ifndef _NO_OLDNAMES
|
98
|
-
# define diskfree_t _diskfree_t
|
99
|
-
#endif
|
100
|
-
|
101
|
-
#ifdef __cplusplus
|
102
|
-
}
|
103
|
-
#endif
|
104
|
-
|
105
|
-
#endif /* Not RC_INVOKED */
|
106
|
-
|
107
|
-
#endif /* Not _DOS_H_ */
|
108
|
-
|
109
|
-
#endif /* Not __STRICT_ANSI__ */
|
110
|
-
|