Commit d003bd9b authored by franzih's avatar franzih Committed by Commit bot

[api] Move documentation to the function it describes.

BUG=v8:5260

Review-Url: https://codereview.chromium.org/2262313002
Cr-Commit-Position: refs/heads/master@{#38826}
parent 5a8f9290
...@@ -4796,7 +4796,6 @@ class V8_EXPORT ObjectTemplate : public Template { ...@@ -4796,7 +4796,6 @@ class V8_EXPORT ObjectTemplate : public Template {
* \param data A piece of data that will be passed to the callbacks * \param data A piece of data that will be passed to the callbacks
* whenever they are invoked. * whenever they are invoked.
*/ */
void SetHandler(const IndexedPropertyHandlerConfiguration& configuration);
// TODO(dcarney): deprecate // TODO(dcarney): deprecate
void SetIndexedPropertyHandler( void SetIndexedPropertyHandler(
IndexedPropertyGetterCallback getter, IndexedPropertyGetterCallback getter,
...@@ -4808,6 +4807,8 @@ class V8_EXPORT ObjectTemplate : public Template { ...@@ -4808,6 +4807,8 @@ class V8_EXPORT ObjectTemplate : public Template {
SetHandler(IndexedPropertyHandlerConfiguration(getter, setter, query, SetHandler(IndexedPropertyHandlerConfiguration(getter, setter, query,
deleter, enumerator, data)); deleter, enumerator, data));
} }
void SetHandler(const IndexedPropertyHandlerConfiguration& configuration);
/** /**
* Sets the callback to be used when calling instances created from * Sets the callback to be used when calling instances created from
* this template as a function. If no callback is set, instances * this template as a function. If no callback is set, instances
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment