|Posted by Jarrett Billingsley||PermalinkReply|
the ABI docs are (understandably) unfinished. but just out of curiosity, how are in / out / inout parameters handled? are they sort of "implied pointers", like we have with class references?
the reason i ask, is that this function compiles:
extern(C) void blah(inout int x)
i'm not sure if the compiler does any checks for "illegal" code in functions that use C linkage, but what would happen if i used this function in C? or rather, HOW would i use this function in C?