ext/rbconfig/sizeof/sizes.c File Reference

#include "ruby/ruby.h"

Go to the source code of this file.

Defines

#define DEFINE(type, size)   rb_hash_aset(s, rb_str_new_cstr(#type), INT2FIX(SIZEOF_##size));

Functions

void Init_sizeof (void)

Define Documentation

#define DEFINE ( type,
size   )     rb_hash_aset(s, rb_str_new_cstr(#type), INT2FIX(SIZEOF_##size));

Referenced by Init_sizeof().


Function Documentation

void Init_sizeof ( void   ) 

Definition at line 4 of file sizes.c.

References DEFINE, off_t, rb_define_const(), rb_define_module(), and rb_hash_new().


Generated on 18 May 2020 for Ruby by  doxygen 1.6.1