public static LLVMTypeRef StringSliceReferenceType(this ContextWrapper context) => context.StructType( new LLVMTypeRef[] { context.BytePointerType(), context.Int32Type }, false);
public static LLVMTypeRef StringSplitIteratorType(this ContextWrapper context) => context.StructType( new LLVMTypeRef[] { context.StringSliceReferenceType(), context.BytePointerType() });
public static LLVMTypeRef StringType(this ContextWrapper context) => context.StructType( new LLVMTypeRef[] { context.BytePointerType(), context.Int32Type });