search for: inttypewith32bit

Displaying 1 result from an estimated 1 matches for "inttypewith32bit".

Did you mean: inttypewith32bits
2011 Jun 20
3
[LLVMdev] C struct as function argument
...ruct x) { NSLog(@"%d %d",x.x,x.y); return N(x.x + x.y); } -(void) testLLVMStructFuncCall { CGKModule* myMod = [CGKModule moduleWithName:@"llvm_structfunccall_test"]; CGKType* testStructType = [CGKType structTypeWithElementTypes:[NSArray arrayWithObjects:[CGKType intTypeWith32Bits],[CGKType intTypeWith32Bits],nil]]; CGKFunction* lfunc = [CGKFunction functionWithName:@"testLLVMStructFuncCall" types:[NSArray arrayWithObjects:[CGKType idType],testStructType,nil] intoModule:myMod]; CGKFunction* rfunc = [CGKBuilder createStandaloneCallForFunction:lfunc withArgu...