mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in, include/ruby/defines.h (RUBY_FUNC_EXPORTED): macro
to declare exported function. * array.c (rb_ary_memsize), string.c (rb_str_memsize), variable.c (rb_objspace_data_type_memsize): used in objspace. [ruby-dev:42022] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a23b1f7450
commit
dccf9e0c45
9 changed files with 31 additions and 23 deletions
|
@ -241,6 +241,10 @@ extern const unsigned char rb_nan[];
|
|||
|
||||
#endif
|
||||
|
||||
#ifndef RUBY_FUNC_EXPORTED
|
||||
#define RUBY_FUNC_EXPORTED
|
||||
#endif
|
||||
|
||||
#ifndef RUBY_EXTERN
|
||||
#define RUBY_EXTERN extern
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue