From 28849ce257de28993e4786ed102a6f1f0433278e Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 18 Nov 2013 14:19:16 +0000 Subject: ext/rbconfig/sizeof: move to an extension library * common.mk, ext/rbconfig/sizeof: move RbConfig::SIZEOF to an extension library to get rid of annoying nmake VPATH rule. * inits.c (rb_call_inits), miniinit.c (Init_sizes): RbConfig::SIZEOF is no loger built-in. * template/sizes.c.tmpl (Init_sizeof): rename initialization function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- template/sizes.c.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template/sizes.c.tmpl') diff --git a/template/sizes.c.tmpl b/template/sizes.c.tmpl index e47eadebb7..ac9964dd5b 100644 --- a/template/sizes.c.tmpl +++ b/template/sizes.c.tmpl @@ -12,7 +12,7 @@ conditions = { } %> void -Init_sizes(void) +Init_sizeof(void) { VALUE s = rb_hash_new(); rb_define_const(rb_define_module("RbConfig"), "SIZEOF", s); -- cgit v1.2.1