src: define Is* util functions with macros
authorcjihrig <cjihrig@gmail.com>
Wed, 2 Dec 2015 16:49:35 +0000 (11:49 -0500)
committerMyles Borins <mborins@us.ibm.com>
Tue, 19 Jan 2016 19:52:29 +0000 (11:52 -0800)
commit3080bdc7d78a225d835c69f279592b30c9da7dde
treede1daa7467f683a58119af624f7815fb2fb4bbbe
parentb421119984a35abf54701cd9c223b8b33eb3d599
src: define Is* util functions with macros

The Is* type checking functions in node_util.cc are mostly
the same boilerplate. This commit defines them using a macro.

Refs: https://github.com/nodejs/node/pull/4100
PR-URL: https://github.com/nodejs/node/pull/4118
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Conflicts:
src/node_util.cc
src/node_util.cc