gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash/server/asobj GMath.h Math.h


From: Rob Savoye
Subject: [Gnash-commit] gnash/server/asobj GMath.h Math.h
Date: Wed, 09 Aug 2006 02:16:23 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Rob Savoye <rsavoye>    06/08/09 02:16:23

Added files:
        server/asobj   : GMath.h 
Removed files:
        server/asobj   : Math.h 

Log message:
        Rename file to avoid case insensitivity issue on Darwin.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/GMath.h?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Math.h?cvsroot=gnash&r1=1.1&r2=0

Patches:
Index: GMath.h
===================================================================
RCS file: GMath.h
diff -N GMath.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ GMath.h     9 Aug 2006 02:16:23 -0000       1.1
@@ -0,0 +1,105 @@
+// 
+//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
+#ifndef __MATH_H__
+#define __MATH_H__
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifdef WIN32
+# undef min
+# undef max
+#endif
+
+#include "impl.h"
+#include "log.h"
+#include "as_object.h"
+#include <math.h>
+
+namespace gnash {
+  
+class Math {
+public:
+    Math();
+    ~Math();
+   void abs();
+   void acos();
+   void asin();
+   void atan();
+   void atan2();
+   void ceil();
+   void cos();
+   void exp();
+   void floor();
+   void log();
+   void max();
+   void min();
+   void pow();
+   void random();
+   void round();
+   void sin();
+   void sqrt();
+   void tan();
+private:
+    bool _E;
+    bool _LN2;
+    bool _LN10;
+    bool _LOG2E;
+    bool _LOG10E;
+    bool _PI;
+    bool _SQRT1_2;
+    bool _SQRT2;
+};
+
+class math_as_object : public as_object
+{
+private:
+       //Math obj;
+
+public:
+       math_as_object();
+};
+
+void math_abs(const fn_call& fn);
+void math_acos(const fn_call& fn);
+void math_asin(const fn_call& fn);
+void math_atan(const fn_call& fn);
+void math_atan2(const fn_call& fn);
+void math_ceil(const fn_call& fn);
+void math_cos(const fn_call& fn);
+void math_exp(const fn_call& fn);
+void math_floor(const fn_call& fn);
+void math_log(const fn_call& fn);
+void math_max(const fn_call& fn);
+void math_min(const fn_call& fn);
+void math_pow(const fn_call& fn);
+void math_random(const fn_call& fn);
+void math_round(const fn_call& fn);
+void math_sin(const fn_call& fn);
+void math_sqrt(const fn_call& fn);
+void math_tan(const fn_call& fn);
+
+void math_init(as_object* s_global);
+
+} // end of gnash namespace
+
+// __MATH_H__
+#endif
+

Index: Math.h
===================================================================
RCS file: Math.h
diff -N Math.h
--- Math.h      22 Jul 2006 23:47:56 -0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,103 +0,0 @@
-// 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-// GNU General Public License for more details.
-
-// You should have received a copy of the GNU General Public License
-// along with this program; if not, write to the Free Software
-// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-//
-
-#ifndef __MATH_H__
-#define __MATH_H__
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#ifdef WIN32
-# undef min
-# undef max
-#endif
-
-#include "impl.h"
-#include "log.h"
-
-namespace gnash {
-  
-class Math {
-public:
-    Math();
-    ~Math();
-   void abs();
-   void acos();
-   void asin();
-   void atan();
-   void atan2();
-   void ceil();
-   void cos();
-   void exp();
-   void floor();
-   void log();
-   void max();
-   void min();
-   void pow();
-   void random();
-   void round();
-   void sin();
-   void sqrt();
-   void tan();
-private:
-    bool _E;
-    bool _LN2;
-    bool _LN10;
-    bool _LOG2E;
-    bool _LOG10E;
-    bool _PI;
-    bool _SQRT1_2;
-    bool _SQRT2;
-};
-
-class math_as_object : public as_object
-{
-private:
-       //Math obj;
-
-public:
-       math_as_object();
-};
-
-void math_abs(const fn_call& fn);
-void math_acos(const fn_call& fn);
-void math_asin(const fn_call& fn);
-void math_atan(const fn_call& fn);
-void math_atan2(const fn_call& fn);
-void math_ceil(const fn_call& fn);
-void math_cos(const fn_call& fn);
-void math_exp(const fn_call& fn);
-void math_floor(const fn_call& fn);
-void math_log(const fn_call& fn);
-void math_max(const fn_call& fn);
-void math_min(const fn_call& fn);
-void math_pow(const fn_call& fn);
-void math_random(const fn_call& fn);
-void math_round(const fn_call& fn);
-void math_sin(const fn_call& fn);
-void math_sqrt(const fn_call& fn);
-void math_tan(const fn_call& fn);
-
-void math_init(as_object* s_global);
-
-} // end of gnash namespace
-
-// __MATH_H__
-#endif
-




reply via email to

[Prev in Thread] Current Thread [Next in Thread]