aboutsummaryrefslogtreecommitdiffstats
path: root/regint.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-12-15 04:15:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-12-15 04:15:54 +0000
commit84dcc38273665cba3f3756a454697edf11ab168a (patch)
treedbfd3e77fe3ffa4f26efea788f02279d66af9d60 /regint.h
parent15f26afdf0cf3f188a20456512c829290187b68d (diff)
downloadruby-84dcc38273665cba3f3756a454697edf11ab168a.tar.gz
* regcomp.c (onig_region_memsize): implemented for memsize_of().
* ext/objspace/objspace.c (memsize_of): use it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regint.h')
-rw-r--r--regint.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/regint.h b/regint.h
index cd3c2a1035..ca293edcc5 100644
--- a/regint.h
+++ b/regint.h
@@ -842,6 +842,7 @@ typedef int (*ONIGENC_INIT_PROPERTY_LIST_FUNC_TYPE)(void);
extern int onigenc_property_list_init P_((ONIGENC_INIT_PROPERTY_LIST_FUNC_TYPE));
extern size_t onig_memsize P_((const regex_t *reg));
+extern size_t onig_region_memsize P_((const struct re_registers *regs));
#if defined __GNUC__ && __GNUC__ >= 4
#pragma GCC visibility pop