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

* ext/dl/dl.c (Init_dl): fix mangled documnet.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-02-09 07:48:22 +00:00
parent 71837f629e
commit f90f02ab20
2 changed files with 20 additions and 16 deletions

View file

@ -1,3 +1,7 @@
Thu Feb 9 16:48:19 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/dl/dl.c (Init_dl): fix mangled documnet.
Thu Feb 9 16:10:34 2012 NAKAMURA Usaku <usa@ruby-lang.org> Thu Feb 9 16:10:34 2012 NAKAMURA Usaku <usa@ruby-lang.org>
* test/ruby/memory_status.rb (Memory::Win32): 64bit support. * test/ruby/memory_status.rb (Memory::Win32): 64bit support.

View file

@ -273,101 +273,101 @@ Init_dl(void)
/* Document-const: ALIGN_VOIDP /* Document-const: ALIGN_VOIDP
* *
* The Offset of a struct void* and a void* * The alignment size of a void*
*/ */
rb_define_const(rb_mDL, "ALIGN_VOIDP", INT2NUM(ALIGN_VOIDP)); rb_define_const(rb_mDL, "ALIGN_VOIDP", INT2NUM(ALIGN_VOIDP));
/* Document-const: ALIGN_CHAR /* Document-const: ALIGN_CHAR
* *
* The Offset of a struct char and a char * The alignment size of a char
*/ */
rb_define_const(rb_mDL, "ALIGN_CHAR", INT2NUM(ALIGN_CHAR)); rb_define_const(rb_mDL, "ALIGN_CHAR", INT2NUM(ALIGN_CHAR));
/* Document-const: ALIGN_SHORT /* Document-const: ALIGN_SHORT
* *
* The Offset of a struct short and a short * The alignment size of a short
*/ */
rb_define_const(rb_mDL, "ALIGN_SHORT", INT2NUM(ALIGN_SHORT)); rb_define_const(rb_mDL, "ALIGN_SHORT", INT2NUM(ALIGN_SHORT));
/* Document-const: ALIGN_INT /* Document-const: ALIGN_INT
* *
* The Offset of a struct int and a int * The alignment size of an int
*/ */
rb_define_const(rb_mDL, "ALIGN_INT", INT2NUM(ALIGN_INT)); rb_define_const(rb_mDL, "ALIGN_INT", INT2NUM(ALIGN_INT));
/* Document-const: ALIGN_LONG /* Document-const: ALIGN_LONG
* *
* The Offset of a struct long and a long * The alignment size of a long
*/ */
rb_define_const(rb_mDL, "ALIGN_LONG", INT2NUM(ALIGN_LONG)); rb_define_const(rb_mDL, "ALIGN_LONG", INT2NUM(ALIGN_LONG));
#if HAVE_LONG_LONG #if HAVE_LONG_LONG
/* Document-const: ALIGN_LONG_LONG /* Document-const: ALIGN_LONG_LONG
* *
* The Offset of a struct long long and a long long * The alignment size of a long long
*/ */
rb_define_const(rb_mDL, "ALIGN_LONG_LONG", INT2NUM(ALIGN_LONG_LONG)); rb_define_const(rb_mDL, "ALIGN_LONG_LONG", INT2NUM(ALIGN_LONG_LONG));
#endif #endif
/* Document-const: ALIGN_FLOAT /* Document-const: ALIGN_FLOAT
* *
* The Offset of a struct float and a float * The alignment size of a float
*/ */
rb_define_const(rb_mDL, "ALIGN_FLOAT", INT2NUM(ALIGN_FLOAT)); rb_define_const(rb_mDL, "ALIGN_FLOAT", INT2NUM(ALIGN_FLOAT));
/* Document-const: ALIGN_DOUBLE /* Document-const: ALIGN_DOUBLE
* *
* The Offset of a struct double and a double * The alignment size of a double
*/ */
rb_define_const(rb_mDL, "ALIGN_DOUBLE",INT2NUM(ALIGN_DOUBLE)); rb_define_const(rb_mDL, "ALIGN_DOUBLE",INT2NUM(ALIGN_DOUBLE));
/* Document-const: SIZEOF_VOIDP /* Document-const: SIZEOF_VOIDP
* *
* OS Dependent - sizeof(void*) * size of a void*
*/ */
rb_define_const(rb_mDL, "SIZEOF_VOIDP", INT2NUM(sizeof(void*))); rb_define_const(rb_mDL, "SIZEOF_VOIDP", INT2NUM(sizeof(void*)));
/* Document-const: SIZEOF_CHAR /* Document-const: SIZEOF_CHAR
* *
* OS Dependent - sizeof(char) * size of a char
*/ */
rb_define_const(rb_mDL, "SIZEOF_CHAR", INT2NUM(sizeof(char))); rb_define_const(rb_mDL, "SIZEOF_CHAR", INT2NUM(sizeof(char)));
/* Document-const: SIZEOF_SHORT /* Document-const: SIZEOF_SHORT
* *
* OS Dependent - sizeof(short) * size of a short
*/ */
rb_define_const(rb_mDL, "SIZEOF_SHORT", INT2NUM(sizeof(short))); rb_define_const(rb_mDL, "SIZEOF_SHORT", INT2NUM(sizeof(short)));
/* Document-const: SIZEOF_INT /* Document-const: SIZEOF_INT
* *
* OS Dependent - sizeof(int) * size of an int
*/ */
rb_define_const(rb_mDL, "SIZEOF_INT", INT2NUM(sizeof(int))); rb_define_const(rb_mDL, "SIZEOF_INT", INT2NUM(sizeof(int)));
/* Document-const: SIZEOF_LONG /* Document-const: SIZEOF_LONG
* *
* OS Dependent - sizeof(long) * size of a long
*/ */
rb_define_const(rb_mDL, "SIZEOF_LONG", INT2NUM(sizeof(long))); rb_define_const(rb_mDL, "SIZEOF_LONG", INT2NUM(sizeof(long)));
#if HAVE_LONG_LONG #if HAVE_LONG_LONG
/* Document-const: SIZEOF_LONG_LONG /* Document-const: SIZEOF_LONG_LONG
* *
* OS Dependent - sizeof(long long) * size of a long long
*/ */
rb_define_const(rb_mDL, "SIZEOF_LONG_LONG", INT2NUM(sizeof(LONG_LONG))); rb_define_const(rb_mDL, "SIZEOF_LONG_LONG", INT2NUM(sizeof(LONG_LONG)));
#endif #endif
/* Document-const: SIZEOF_FLOAT /* Document-const: SIZEOF_FLOAT
* *
* OS Dependent - sizeof(float) * size of a float
*/ */
rb_define_const(rb_mDL, "SIZEOF_FLOAT", INT2NUM(sizeof(float))); rb_define_const(rb_mDL, "SIZEOF_FLOAT", INT2NUM(sizeof(float)));
/* Document-const: SIZEOF_DOUBLE /* Document-const: SIZEOF_DOUBLE
* *
* OS Dependent - sizeof(double) * size of a double
*/ */
rb_define_const(rb_mDL, "SIZEOF_DOUBLE",INT2NUM(sizeof(double))); rb_define_const(rb_mDL, "SIZEOF_DOUBLE",INT2NUM(sizeof(double)));