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

Diff of /trunk/js/jsnum.h

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

revision 399 by siliconforks, Tue Dec 9 03:37:47 2008 UTC revision 460 by siliconforks, Sat Sep 26 23:15:22 2009 UTC
# Line 178  Line 178 
178  extern JSBool  extern JSBool
179  js_NewNumberInRootedValue(JSContext *cx, jsdouble d, jsval *vp);  js_NewNumberInRootedValue(JSContext *cx, jsdouble d, jsval *vp);
180    
 /* Convert a number to a GC'ed string. */  
 extern JSString * JS_FASTCALL  
 js_NumberToString(JSContext *cx, jsdouble d);  
   
181  /*  /*
182   * Convert int to C string. The buf must be big enough for MIN_INT to fit   * Create a weakly rooted integer or double jsval as appropriate for the given
183   * including '-' and '\0'.   * jsdouble.
184   */   */
185  char *  extern JSBool
186  js_IntToCString(jsint i, jsint base, char *buf, size_t bufSize);  js_NewWeaklyRootedNumber(JSContext *cx, jsdouble d, jsval *vp);
187    
188  /*  /* Convert a number to a GC'ed string. */
189   * Convert a number to C string. The buf must be at least  extern JSString * JS_FASTCALL
190   * DTOSTR_STANDARD_BUFFER_SIZE.  js_NumberToString(JSContext *cx, jsdouble d);
  */  
 char *  
 js_NumberToCString(JSContext *cx, jsdouble d, jsint base, char *buf, size_t bufSize);  
191    
192  /*  /*
193   * Convert a value to a number. On exit JSVAL_IS_NULL(*vp) iff there was an   * Convert a value to a number. On exit JSVAL_IS_NULL(*vp) iff there was an

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

  ViewVC Help
Powered by ViewVC 1.1.24