1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* regex.h (re_mbctab): should refer to RUBY_EXPORT. [ruby-ext:02199]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2003-08-03 09:22:50 +00:00
parent 2dd7a6ab7e
commit 6c526497b6
2 changed files with 7 additions and 6 deletions

View file

@ -1,3 +1,7 @@
Sun Aug 3 18:03:44 2003 WATANABE Hirofumi <eban@ruby-lang.org>
* regex.h (re_mbctab): should refer to RUBY_EXPORT. [ruby-ext:02199]
Sun Aug 3 02:45:06 2003 Koji Arai <jca02266@nifty.ne.jp> Sun Aug 3 02:45:06 2003 Koji Arai <jca02266@nifty.ne.jp>
* numeric.c (flo_to_s): get rid of buffer overflow. * numeric.c (flo_to_s): get rid of buffer overflow.

View file

@ -88,13 +88,10 @@
#define MBCTYPE_SJIS 2 #define MBCTYPE_SJIS 2
#define MBCTYPE_UTF8 3 #define MBCTYPE_UTF8 3
#if defined IMPORT || defined USEIMPORTLIB
extern __declspec(dllimport)
#elif defined EXPORT
extern __declspec(dllexport)
#else
extern extern
#endif #if defined _WIN32 && !defined __GNUC__ && !defined RUBY_EXPORT
__declspec(dllimport)
# endif
const unsigned char *re_mbctab; const unsigned char *re_mbctab;
#if defined(__STDC__) #if defined(__STDC__)
void re_mbcinit (int); void re_mbcinit (int);