mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
io/buffer.h: C linkage
Because `make install` installs this header to target systems, it must be ready to be `#include`d form a C++ program.
This commit is contained in:
parent
db316e627f
commit
1370b0876f
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
#include "ruby/ruby.h"
|
||||
#include "ruby/internal/config.h"
|
||||
|
||||
RUBY_SYMBOL_EXPORT_BEGIN
|
||||
RBIMPL_SYMBOL_EXPORT_BEGIN()
|
||||
|
||||
// WARNING: This entire interface is experimental and may change in the future!
|
||||
#define RB_IO_BUFFER_EXPERIMENTAL 1
|
||||
|
@ -73,6 +73,6 @@ size_t rb_io_buffer_copy(VALUE self, VALUE source, size_t offset);
|
|||
void rb_io_buffer_resize(VALUE self, size_t size, size_t preserve);
|
||||
void rb_io_buffer_clear(VALUE self, uint8_t value, size_t offset, size_t length);
|
||||
|
||||
RUBY_SYMBOL_EXPORT_END
|
||||
RBIMPL_SYMBOL_EXPORT_END()
|
||||
|
||||
#endif /* RUBY_IO_BUFFER_T */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue