Package org.renjin.gcc.translate.type.struct

Examples of org.renjin.gcc.translate.type.struct.SimpleRecordType


        // create a new JVM type to back this array
        JimpleClassBuilder recordClass = context.getJimpleOutput().newClass();
        recordClass.setPackageName(context.getMainClass().getPackageName());
        recordClass.setClassName(context.getMainClass().getClassName() + "$" + def.getName());

        SimpleRecordType struct = new SimpleRecordType(new SyntheticJimpleType(recordClass.getFqcn()));
        map.put(recordType.getId(), struct);

        buildFields(struct, recordClass, def);

        return struct;
View Full Code Here


      compiler.getMethodTable().addMethod("Rf_pbeta",distributionsClass,"pbeta");

      compiler.getMethodTable().addReferenceClass(RenjinCApi.class);
      compiler.getMethodTable().addReferenceClass(Sort.class);

      compiler.provideType("SEXP_T", new SimpleRecordType(new RealJimpleType(GnuSEXP.class)));

      compiler.compile(units);
    }
  }
View Full Code Here

TOP

Related Classes of org.renjin.gcc.translate.type.struct.SimpleRecordType

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.