Files
node/doc/api
Daniel Bevenius 7b4c4db3ad test: fix compiler warning in doc/api/addons.md
Currently there are compiler warnings is emitted:
../addon.cc:17:58:
warning: 'ToString' is deprecated:
Use maybe version [-Wdeprecated-declarations]
obj->Set(String::NewFromUtf8(isolate, "msg"),
                             args[0]->ToString(isolate));
                                                         ^
deps/v8/include/v8.h:2537:3:
note: 'ToString' has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^

This commit updates examples to use the non-deprecated versions.

PR-URL: https://github.com/nodejs/node/pull/23323
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
2018-11-29 11:38:14 -05:00
..
2018-09-08 14:12:50 +02:00
2018-09-06 08:53:57 +02:00
2018-10-10 09:10:08 -07:00
2018-08-07 08:53:33 +02:00
2018-08-07 08:53:33 +02:00
2018-10-10 09:10:08 -07:00
2018-11-29 11:38:13 -05:00
2018-10-10 09:10:08 -07:00
2018-07-15 19:02:29 +02:00
2018-07-15 19:02:29 +02:00
2018-09-23 16:53:45 +02:00
2018-10-10 04:15:57 +02:00
2018-07-15 19:02:29 +02:00
2018-10-07 12:11:34 +02:00
2018-10-10 09:10:08 -07:00
2018-09-06 08:53:57 +02:00