/[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 332 by siliconforks, Thu Oct 23 19:03:33 2008 UTC revision 399 by siliconforks, Tue Dec 9 03:37:47 2008 UTC
# Line 39  Line 39 
39    
40  #ifndef jsnum_h___  #ifndef jsnum_h___
41  #define jsnum_h___  #define jsnum_h___
42    
43  /*  /*
44   * JS number (IEEE double) interface.   * JS number (IEEE double) interface.
45   *   *
# Line 186  Line 187 
187   * including '-' and '\0'.   * including '-' and '\0'.
188   */   */
189  char *  char *
190  js_IntToCString(jsint i, char *buf, size_t bufSize);  js_IntToCString(jsint i, jsint base, char *buf, size_t bufSize);
191    
192  /*  /*
193   * Convert a number to C string. The buf must be at least   * Convert a number to C string. The buf must be at least
194   * DTOSTR_STANDARD_BUFFER_SIZE.   * DTOSTR_STANDARD_BUFFER_SIZE.
195   */   */
196  char *  char *
197  js_NumberToCString(JSContext *cx, jsdouble d, char *buf, size_t bufSize);  js_NumberToCString(JSContext *cx, jsdouble d, jsint base, char *buf, size_t bufSize);
198    
199  /*  /*
200   * 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.332  
changed lines
  Added in v.399

  ViewVC Help
Powered by ViewVC 1.1.24