search for: quasicastthinger

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

2003 May 09
3
[LLVMdev] ConstantPointerRef and void*'s to functions
...ointerRef::get(foo)); will yield a type error because the type of the function foo ("void (*) (double*, double*)") does not match the structure field type. How might I go about making the necessary cast-like step at the GlobalValue/Function level? I want to do something like: Function* quasiCastThinger = foo->getAsType(myDesiredFunctionType); TIA. -j -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20030509/c00d4acb/attachment.html>