summaryrefslogtreecommitdiff
path: root/src/smalloc.cc
diff options
context:
space:
mode:
authorTrevor Norris <trev.norris@gmail.com>2015-06-02 11:09:03 -0600
committerRod Vagg <rod@vagg.org>2015-08-04 11:56:11 -0700
commit36f78f4c1cbe0c0dd2a83f6b1dba534a9d722a49 (patch)
tree3709d5c5f0e3697e06c7f9ba3b56af51256aba84 /src/smalloc.cc
parent571ec13841699d255025b8eaeab17c84fdb4add3 (diff)
downloadnode-new-36f78f4c1cbe0c0dd2a83f6b1dba534a9d722a49.tar.gz
buffer: switch API to return MaybeLocal<T>
Instead of aborting in case of internal failure, return an empty Local<Object>. Using the MaybeLocal<T> API, users must check their return values. PR-URL: https://github.com/nodejs/io.js/pull/1825 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'src/smalloc.cc')
0 files changed, 0 insertions, 0 deletions