Chromium Code Reviews| Index: include/v8.h |
| diff --git a/include/v8.h b/include/v8.h |
| index 815f43db7b2fb392ec521940c3b43821f190196b..e3b2845254f7f20c7b12206ae3ed87e972bbc1f3 100644 |
| --- a/include/v8.h |
| +++ b/include/v8.h |
| @@ -2665,6 +2665,12 @@ class V8_EXPORT Function : public Object { |
| */ |
| int ScriptId() const; |
| + /** |
| + * Returns the original function if this function is bound, else returns this |
|
yurys
2013/12/12 12:47:15
"...if this function is bound using Function.proto
Alexandra Mikhaylova
2013/12/12 15:53:02
Done.
|
| + * function. |
| + */ |
| + Local<Function> GetBoundFunction() const; |
| + |
| ScriptOrigin GetScriptOrigin() const; |
| V8_INLINE static Function* Cast(Value* obj); |
| static const int kLineOffsetNotFound; |