smalloc: extend user API
authorTrevor Norris <trev.norris@gmail.com>
Fri, 20 Feb 2015 17:32:29 +0000 (10:32 -0700)
committerTrevor Norris <trev.norris@gmail.com>
Fri, 20 Feb 2015 18:02:33 +0000 (11:02 -0700)
commit26ebe9805e599e9d9cdecf739f7052ceed56e836
tree9e01d1d5d64f09a3f67bc91266b7f8e951790770
parent329f364ea23b1a081442790102823dd20ce325da
smalloc: extend user API

node::Environment isn't accessible to user APIs, so extend smalloc to
also accept v8::Isolate.

Fixes: 75adde07 "src: remove `node_isolate` from source"
PR-URL: https://github.com/iojs/io.js/pull/905
Reviewed-by: Fedor Indutny <fedor@indutny.com>
src/smalloc.cc
src/smalloc.h
test/addons/smalloc-alloc/binding.cc [new file with mode: 0644]
test/addons/smalloc-alloc/binding.gyp [new file with mode: 0644]
test/addons/smalloc-alloc/test.js [new file with mode: 0644]