aboutsummaryrefslogtreecommitdiff
path: root/devel/ixlib/files/patch-test::javascript.cc
blob: 39b631d90aa9b5edf1598cb831d1827389b14823 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- test/javascript.cc.orig	Fri Nov 28 12:57:33 2003
+++ test/javascript.cc	Fri Nov 28 13:15:30 2003
@@ -64,7 +64,7 @@
 
 
 // simple call-in example -----------------------------------------------------
-IXLIB_JS_DECLARE_FUNCTION(write) {
+IXLIB_JS_DECLARE_FUNCTION(write_) {
   FOREACH_CONST(first,parameters,parameter_list)
     cout << (*first)->toString();
   return makeNull();
@@ -99,7 +99,7 @@
     // end complex call-in example --------------------------------------------
     
     // simple call-in example -------------------------------------------------
-    ev = new write;
+    ev = new write_;
     ip.RootScope->addMember("write",ev);
     // end simple call-in example ---------------------------------------------