[Phission-cvs] phission/examples/java/X11DisplayTest/src X11DisplayTest.java,1.3,1.4
Brought to you by:
pthoren
From: Philip T. <pt...@us...> - 2005-06-24 20:23:08
|
Update of /cvsroot/phission/phission/examples/java/X11DisplayTest/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv849/examples/java/X11DisplayTest/src Modified Files: X11DisplayTest.java Log Message: Added default support for ccache building Fixed some cygpath issues in Makefile.swig.in CYGPATH_W on this Linux platform becomes "echo"; was adding a "p", expecting "cygpath -w" and got "echop" instead Fixed missing import statement in X11DisplayTest.java need to import now that the phission jar file stores the classes in org/phission/ redirected "2"/stderr to /den/null in a swig checking statement in swig.m4 Index: X11DisplayTest.java =================================================================== RCS file: /cvsroot/phission/phission/examples/java/X11DisplayTest/src/X11DisplayTest.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** X11DisplayTest.java 31 May 2005 23:05:12 -0000 1.3 --- X11DisplayTest.java 24 Jun 2005 20:22:44 -0000 1.4 *************** *** 1,3 **** --- 1,4 ---- // main.java + import org.phission.*; public class X11DisplayTest *************** *** 74,82 **** System.out.println(""); ! //rc = img.update(phissionJNI.get_phLiveObjectNOWAIT()); ! rc = img.update(phissionJNI.get_phLiveObjectWAIT()); System.out.println("img.update() => " + rc ); ! if (rc == phissionJNI.get_phLiveObjectNOUPDATE()) { System.out.println("phLiveObjectNOUPDATE"); --- 75,83 ---- System.out.println(""); ! //rc = img.update(phission.phLiveObjectNOWAIT); ! rc = img.update(phission.phLiveObjectWAIT); System.out.println("img.update() => " + rc ); ! if (rc == phission.phLiveObjectNOUPDATE) { System.out.println("phLiveObjectNOUPDATE"); |