/[jscoverage]/trunk/js/jsiter.h
ViewVC logotype

Diff of /trunk/js/jsiter.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 398 by siliconforks, Thu Oct 23 19:03:33 2008 UTC revision 399 by siliconforks, Tue Dec 9 03:37:47 2008 UTC
# Line 72  Line 72 
72  extern JS_FRIEND_API(JSBool)  extern JS_FRIEND_API(JSBool)
73  js_ValueToIterator(JSContext *cx, uintN flags, jsval *vp);  js_ValueToIterator(JSContext *cx, uintN flags, jsval *vp);
74    
75  extern JS_FRIEND_API(bool) JS_FASTCALL  extern JS_FRIEND_API(JSBool) JS_FASTCALL
76  js_CloseIterator(JSContext *cx, jsval v);  js_CloseIterator(JSContext *cx, jsval v);
77    
78  /*  /*
# Line 125  Line 125 
125  extern JSClass          js_IteratorClass;  extern JSClass          js_IteratorClass;
126  extern JSClass          js_StopIterationClass;  extern JSClass          js_StopIterationClass;
127    
128    static inline bool
129    js_ValueIsStopIteration(jsval v)
130    {
131        return !JSVAL_IS_PRIMITIVE(v) &&
132               STOBJ_GET_CLASS(JSVAL_TO_OBJECT(v)) == &js_StopIterationClass;
133    }
134    
135  extern JSObject *  extern JSObject *
136  js_InitIteratorClasses(JSContext *cx, JSObject *obj);  js_InitIteratorClasses(JSContext *cx, JSObject *obj);
137    

Legend:
Removed from v.398  
changed lines
  Added in v.399

  ViewVC Help
Powered by ViewVC 1.1.24