[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog server/asobj/Math.cpp
From: |
Benjamin Wolsey |
Subject: |
[Gnash-commit] gnash ChangeLog server/asobj/Math.cpp |
Date: |
Tue, 15 Apr 2008 10:27:17 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Benjamin Wolsey <bwy> 08/04/15 10:27:17
Modified files:
. : ChangeLog
server/asobj : Math.cpp
Log message:
* server/asobj/Math.cpp: internal functions can have internal
linkage.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6281&r2=1.6282
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Math.cpp?cvsroot=gnash&r1=1.30&r2=1.31
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6281
retrieving revision 1.6282
diff -u -b -r1.6281 -r1.6282
--- ChangeLog 15 Apr 2008 10:14:44 -0000 1.6281
+++ ChangeLog 15 Apr 2008 10:27:16 -0000 1.6282
@@ -1,3 +1,8 @@
+2008-04-15 Benjamin Wolsey <address@hidden>
+
+ * server/asobj/Math.cpp: internal functions can have internal
+ linkage.
+
2008-04-15 Sandro Santilli <address@hidden>
* server/button_character_instance.cpp (set_current_state):
Index: server/asobj/Math.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Math.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- server/asobj/Math.cpp 15 Apr 2008 07:55:23 -0000 1.30
+++ server/asobj/Math.cpp 15 Apr 2008 10:27:17 -0000 1.31
@@ -49,25 +49,25 @@
// Forward declarations
static void attachMathInterface(as_object& proto);
+static as_value math_fabs(const fn_call& fn); // Implements AS "abs"
+static as_value math_acos(const fn_call& fn);
+static as_value math_asin(const fn_call& fn);
+static as_value math_atan(const fn_call& fn);
+static as_value math_atan2(const fn_call& fn);
+static as_value math_ceil(const fn_call& fn);
+static as_value math_cos(const fn_call& fn);
+static as_value math_exp(const fn_call& fn);
+static as_value math_floor(const fn_call& fn);
+static as_value math_log(const fn_call& fn);
+static as_value math_max(const fn_call& fn);
+static as_value math_min(const fn_call& fn);
+static as_value math_pow(const fn_call& fn);
+static as_value math_random(const fn_call& fn);
+static as_value math_round(const fn_call& fn);
+static as_value math_sin(const fn_call& fn);
+static as_value math_sqrt(const fn_call& fn);
+static as_value math_tan(const fn_call& fn);
-as_value math_fabs(const fn_call& fn); // Implements AS "abs"
-as_value math_acos(const fn_call& fn);
-as_value math_asin(const fn_call& fn);
-as_value math_atan(const fn_call& fn);
-as_value math_atan2(const fn_call& fn);
-as_value math_ceil(const fn_call& fn);
-as_value math_cos(const fn_call& fn);
-as_value math_exp(const fn_call& fn);
-as_value math_floor(const fn_call& fn);
-as_value math_log(const fn_call& fn);
-as_value math_max(const fn_call& fn);
-as_value math_min(const fn_call& fn);
-as_value math_pow(const fn_call& fn);
-as_value math_random(const fn_call& fn);
-as_value math_round(const fn_call& fn);
-as_value math_sin(const fn_call& fn);
-as_value math_sqrt(const fn_call& fn);
-as_value math_tan(const fn_call& fn);
void
math_class_init(as_object& global)
@@ -147,6 +147,7 @@
MATH_WRAP_FUNC2_EXP(min, (arg0 < arg1 ? arg0 : arg1))
MATH_WRAP_FUNC2_EXP(pow, (pow(arg0, arg1)))
+
// A couple of oddballs.
as_value
math_random(const fn_call& /* fn */)
@@ -162,6 +163,7 @@
}
+
as_value
math_round(const fn_call& fn)
{
@@ -177,8 +179,7 @@
}
-
-static void
+void
attachMathInterface(as_object& proto)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog server/asobj/Math.cpp,
Benjamin Wolsey <=