parent
45fd4436ee
commit
56a45456ac
Notes:
git
2020-10-06 14:20:36 +09:00
@ -12,14 +12,7 @@
|
|||||||
|
|
||||||
#include "ruby/ruby.h"
|
#include "ruby/ruby.h"
|
||||||
|
|
||||||
#if defined(__cplusplus)
|
RBIMPL_SYMBOL_EXPORT_BEGIN()
|
||||||
extern "C" {
|
|
||||||
#if 0
|
|
||||||
} /* satisfy cc-mode */
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
RUBY_SYMBOL_EXPORT_BEGIN
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
VALUE seed;
|
VALUE seed;
|
||||||
@ -76,13 +69,5 @@ double rb_int_pair_to_real(uint32_t a, uint32_t b, int excl);
|
|||||||
void rb_rand_bytes_int32(rb_random_get_int32_func *, rb_random_t *, void *, size_t);
|
void rb_rand_bytes_int32(rb_random_get_int32_func *, rb_random_t *, void *, size_t);
|
||||||
RUBY_EXTERN const rb_data_type_t rb_random_data_type;
|
RUBY_EXTERN const rb_data_type_t rb_random_data_type;
|
||||||
|
|
||||||
RUBY_SYMBOL_EXPORT_END
|
RBIMPL_SYMBOL_EXPORT_END()
|
||||||
|
|
||||||
#if defined(__cplusplus)
|
|
||||||
#if 0
|
|
||||||
{ /* satisfy cc-mode */
|
|
||||||
#endif
|
|
||||||
} /* extern "C" { */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* RUBY_RANDOM_H */
|
#endif /* RUBY_RANDOM_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user