コード例 #1
0
 internal static LLVMTypeRef CreateLLVMNotifierWriterType(this ContextWrapper context, LLVMTypeRef innerType)
 {
     return(context.StructType(
                new LLVMTypeRef[]
     {
         LLVMTypeRef.PointerType(context.CreateLLVMRefCountType(context.CreateLLVMNotifierSharedDataType(innerType)), 0u)
     },
                false));
 }
コード例 #2
0
 internal static LLVMTypeRef CreateLLVMSharedType(this ContextWrapper context, LLVMTypeRef innerType)
 {
     return(LLVMTypeRef.PointerType(context.CreateLLVMRefCountType(innerType), 0u));
 }