[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}
This commit is contained in:
parent
5a8f92901b
commit
d003bd9b84
@ -4796,7 +4796,6 @@ class V8_EXPORT ObjectTemplate : public Template {
|
||||
* \param data A piece of data that will be passed to the callbacks
|
||||
* whenever they are invoked.
|
||||
*/
|
||||
void SetHandler(const IndexedPropertyHandlerConfiguration& configuration);
|
||||
// TODO(dcarney): deprecate
|
||||
void SetIndexedPropertyHandler(
|
||||
IndexedPropertyGetterCallback getter,
|
||||
@ -4808,6 +4807,8 @@ class V8_EXPORT ObjectTemplate : public Template {
|
||||
SetHandler(IndexedPropertyHandlerConfiguration(getter, setter, query,
|
||||
deleter, enumerator, data));
|
||||
}
|
||||
void SetHandler(const IndexedPropertyHandlerConfiguration& configuration);
|
||||
|
||||
/**
|
||||
* Sets the callback to be used when calling instances created from
|
||||
* this template as a function. If no callback is set, instances
|
||||
|
Loading…
Reference in New Issue
Block a user