diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-07-27 01:15:42 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-07-27 01:15:42 -0700 |
commit | ac095b59f07a93c20269f87d7c5995c3fcdce37a (patch) | |
tree | 37fc54ee522abf7edb1348d5c1bda2192d47c957 /ext/mall/extconf.rb | |
parent | 01c9481de5319d9d29cbf381a22a17678bd5f7b9 (diff) | |
download | mall-ac095b59f07a93c20269f87d7c5995c3fcdce37a.tar.gz |
Add Mall.trim method (wrapper for malloc_trim())
Diffstat (limited to 'ext/mall/extconf.rb')
-rw-r--r-- | ext/mall/extconf.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mall/extconf.rb b/ext/mall/extconf.rb index 4abc406..4b89e1e 100644 --- a/ext/mall/extconf.rb +++ b/ext/mall/extconf.rb @@ -12,5 +12,6 @@ end have_header('malloc.h') or abort "malloc.h header missing" have_type('struct mallinfo', 'malloc.h') or abort 'struct mallinfo missing' +have_func('malloc_trim', 'malloc.h') dir_config('mall') create_makefile('mall') |