[LLVMdev] BitCast for function type casting?

edA-qa mort-ora-y eda-qa at disemia.com
Sun Feb 3 00:25:21 PST 2013


Shall I just use BitCast for function type conversion as well? For
example, in C notation, can I safely cast a pointer to the first
function to the second and back again:

	void foo( T * )
to/from
	void generic( int8 * )


-- 
edA-qa mort-ora-y
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130203/50c27a5d/attachment.sig>


More information about the llvm-dev mailing list