Package haikuvm.pc.tools.haikuc

Examples of haikuvm.pc.tools.haikuc.HaikuJava2H


    boolean natives=false;
    msg2meth =new Msg2Meth();
   
    Method[] methods=jc.getMethods();
    outc=new HaikuJava2C(new File(HaikuDefs.getProperty("APP_BASE")+"/"+Haikufy.choice("haikuJava")+"/"+filename(classname)+".c"));
    outh=new HaikuJava2H(new File(HaikuDefs.getProperty("APP_BASE")+"/"+Haikufy.choice("haikuJava")+"/"+filename(classname)+".h"));

    outc.println("/*");
        outc.printf("reason #%d: %s\n", Closure.get(classname).getId(), Closure.get(classname).getReason());
        outc.println();
    outc.println(jc);
View Full Code Here


            outc.println(inc);
        }
        if (array==null) {
            if (!singleFile) {
                if (!cf.exists()) {
                    PrintOnChange f = new HaikuJava2H(cf);
                    f.close();
                }
            }
        } else if (!CollectedIncludes.contains(inc)) {
            PrintOnChange arrayh = new HaikuJava2H(new File(HaikuDefs.getProperty("APP_BASE")+"/"+Haikufy.choice("haikuJava")+"/"+include+".h"));
            arrayh.printf("extern const class_t %s__class;\n", array);
            arrayh.close();
           
            PrintOnChange arrayc = new HaikuJava2C(new File(HaikuDefs.getProperty("APP_BASE")+"/"+Haikufy.choice("haikuJava")+"/"+include+".c"));
            if (!singleFile) {
                arrayc.printf("#include \"haikuConfig.h\"\n");
                arrayc.printf("#include \"haikuJava.h\"\n");
View Full Code Here

TOP

Related Classes of haikuvm.pc.tools.haikuc.HaikuJava2H

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.