Displaying 2 results from an estimated 2 matches for "astruct".
Did you mean:
  rstruct
  
2005 Jun 10
2
[LLVMdev] Problems with void*
...id *' it complains that it was expecting an "("
instead of an "*". I suppose that the correct syntax is something like this:  'void (sbyte *)*'
For example, these lines can cause the error:
	%castinst1 = cast typeXYZ* %var to void*		; <void*> [#uses=1]
or
	%astruct = type { %int*, %void*, *astruct }
My question is, how can I generate 'void (sbyte*)*' using the LLVM classes?
Thanks!
2005 Jun 10
0
[LLVMdev] Problems with void*
...an "("
> instead of an "*". I suppose that the correct syntax is something like this:  'void (sbyte *)*'
> 
> For example, these lines can cause the error:
> 
> 	%castinst1 = cast typeXYZ* %var to void*		; <void*> [#uses=1]
> 
> or
> 
> 	%astruct = type { %int*, %void*, *astruct }
> 
> My question is, how can I generate 'void (sbyte*)*' using the LLVM classes?
> 
> Thanks!
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.e...