Changeset 9833 in webkit for trunk/JavaScriptCore/kjs
- Timestamp:
- Jul 19, 2005, 12:52:49 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/lookup.h
r9768 r9833 329 329 class ClassFunc : public DOMFunction { \ 330 330 public: \ 331 ClassFunc(ExecState *exec, int i, int len) \ 332 : DOMFunction( /*proto? */ ), id(i) { \ 333 Value protect(this); \ 334 put(exec,lengthPropertyName,Number(len),DontDelete|ReadOnly|DontEnum); \ 331 ClassFunc(ExecState *exec, int i, int len) : id(i) \ 332 { \ 333 put(exec, lengthPropertyName, Number(len), DontDelete|ReadOnly|DontEnum); \ 335 334 } \ 336 /* * You need to implement that one*/ \337 virtual Value tryCall(ExecState *exec, Object &thisObj, const List &args); \335 /* Macro user needs to implement the call function. */ \ 336 virtual Value call(ExecState *exec, Object &thisObj, const List &args); \ 338 337 private: \ 339 338 int id; \
Note:
See TracChangeset
for help on using the changeset viewer.