예제 #1
0
 public static LLVMTypeRef StringSliceReferenceType(this ContextWrapper context) => context.StructType(
     new LLVMTypeRef[]
 {
     context.BytePointerType(),
     context.Int32Type
 },
     false);
예제 #2
0
 public static LLVMTypeRef StringSplitIteratorType(this ContextWrapper context) => context.StructType(
     new LLVMTypeRef[]
 {
     context.StringSliceReferenceType(),
     context.BytePointerType()
 });
예제 #3
0
 public static LLVMTypeRef StringType(this ContextWrapper context) => context.StructType(
     new LLVMTypeRef[]
 {
     context.BytePointerType(),
     context.Int32Type
 });