node: set names for prototype methods
authorTrevor Norris <trev.norris@gmail.com>
Tue, 12 Aug 2014 00:10:43 +0000 (17:10 -0700)
committerTrevor Norris <trev.norris@gmail.com>
Tue, 12 Aug 2014 00:10:43 +0000 (17:10 -0700)
commit0718426506275fdaf97b2f8688e68dbbb3964c23
tree1efd1d8ab27b70dbc48268fae2f6846ec5c3b35b
parent42bda05af8d628db90f3ee64fa2dd89973cb1e03
node: set names for prototype methods

Fix issue where output of a native prototype method would simply print
[Function]. It will now print [Function: name].

Signed-off-by: Trevor Norris <trev.norris@gmail.com>
src/node.h