LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cvs-checkins > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: cvs at opencores.org<cvs@o...>
    Date: Sat Sep 16 17:28:21 CEST 2006
    Subject: [cvs-checkins] MODIFIED: jop ...
    Top
    Date: 00/06/09 16:17:28

    Modified: jop/java/target/src/common/com/jopdesign/sys Native.java
    Log:
    added some type conversions (e.g. toObject) with jopsys_nop


    Revision Changes Path
    1.3 jop/java/target/src/common/com/jopdesign/sys/Native.java

    http://www.opencores.org/cvsweb.shtml/jop/java/target/src/common/com/jopdesign/sys/Native.java.diff?r1=1.2&r2=1.3

    (In the diff below, changes in quantity of whitespace are not shown.)

    Index: Native.java
    ===================================================================
    RCS file: /cvsroot/martin/jop/java/target/src/common/com/jopdesign/sys/Native.java,v
    retrieving revision 1.2
    retrieving revision 1.3
    diff -u -b -r1.2 -r1.3
    --- Native.java 19 Aug 2006 12:59:56 -0000 1.2
    +++ Native.java 16 Sep 2006 15:28:21 -0000 1.3
    @@ -29,5 +29,10 @@
    public static native long makeLong(int hWord, int lWord);
    public static native void invoke(int arg, int ptr);
    public static native int toInt(Object o);
    + public static native Object toObject(int i);
    + public static native int toInt(float f);
    + public static native float toFloat(int i);
    + public static native long toLong(double d);
    + public static native double toDouble(long l);

    }



     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.