0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc
Daniel Bevenius 59c7df4a10 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-10-11 05:18:11 +02:00
..
api test: fix compiler warning in doc/api/addons.md 2018-10-11 05:18:11 +02:00
api_assets doc: Remove 'dnt_helper.js' 2018-09-02 12:47:09 +02:00
changelogs 2018-10-10, Version 10.12.0 (Current) 2018-10-10 23:18:55 +02:00
guides doc: remove 72-hour mentions in pull-requests.md 2018-10-07 16:44:43 -07:00
.eslintrc.yaml tools: lint doc code examples in strict mode 2018-07-06 08:45:34 +03:00
first_timer_badge.png
full-white-stripe.jpg
node.1 tools: add bash completion for node 2018-09-21 07:18:24 +02:00
offboarding.md doc: add offboarding doc 2018-06-05 15:22:15 -07:00
onboarding-extras.md doc: move upstream information to onboarding doc 2018-06-01 14:01:10 +02:00
onboarding.md doc: update author-ready label terms 2018-10-07 11:58:08 +03:00
osx_installer_logo.png
releases.md build,doc: remove outdated lint-md-build 2018-09-22 15:48:15 +02:00
STYLE_GUIDE.md doc: remove style instruction that is not followed 2018-10-10 20:09:49 -07:00
template.html doc: remove GA tracking 2018-10-04 07:18:23 +02:00
thin-white-stripe.jpg