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

Diff of /trunk/js/jsmath.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 507 by siliconforks, Sun Jan 10 07:23:34 2010 UTC
# Line 1  Line 1 
1  /* ***** BEGIN LICENSE BLOCK *****  /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2     *
3     * ***** BEGIN LICENSE BLOCK *****
4   * Version: MPL 1.1/GPL 2.0/LGPL 2.1   * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5   *   *
6   * The contents of this file are subject to the Mozilla Public License Version   * The contents of this file are subject to the Mozilla Public License Version
# Line 35  Line 37 
37   *   *
38   * ***** END LICENSE BLOCK ***** */   * ***** END LICENSE BLOCK ***** */
39    
 /* -*- Mode: C; tab-width: 8 -*-  
  * Copyright (C) 1998-1999 Netscape Communications Corporation, All Rights Reserved.  
  */  
   
40  #ifndef jsmath_h___  #ifndef jsmath_h___
41  #define jsmath_h___  #define jsmath_h___
42  /*  /*
# Line 53  Line 51 
51  js_InitMathClass(JSContext *cx, JSObject *obj);  js_InitMathClass(JSContext *cx, JSObject *obj);
52    
53  extern void  extern void
54  js_random_init(JSRuntime *rt);  js_InitRandom(JSThreadData *data);
55    
56    extern JSBool
57    js_math_ceil(JSContext *cx, uintN argc, jsval *vp);
58    
59    extern JSBool
60    js_math_floor(JSContext *cx, uintN argc, jsval *vp);
61    
62    extern JSBool
63    js_math_max(JSContext *cx, uintN argc, jsval *vp);
64    
65    extern JSBool
66    js_math_min(JSContext *cx, uintN argc, jsval *vp);
67    
68  extern jsdouble  extern JSBool
69  js_random_nextDouble(JSRuntime *rt);  js_math_round(JSContext *cx, uintN argc, jsval *vp);
70    
71  JS_END_EXTERN_C  JS_END_EXTERN_C
72    

Legend:
Removed from v.332  
changed lines
  Added in v.507

  ViewVC Help
Powered by ViewVC 1.1.24