1.1 --- a/sourcehook/sourcehook.h Thu Nov 01 01:58:44 2007 +0000
1.2 +++ b/sourcehook/sourcehook.h Thu Nov 01 17:29:39 2007 +0000
1.3 @@ -173,7 +173,13 @@
1.4 PassFlag_ODtor = (1<<2), /**< Object has a destructor */
1.5 PassFlag_OCtor = (1<<3), /**< Object has a normal non-trivial constructor */
1.6 PassFlag_AssignOp = (1<<4), /**< Object has a non-trivial assignment operator */
1.7 - PassFlag_CCtor = (1<<5) /**< Object has a copy constructor (which takes const Object& as only parameter) */
1.8 + PassFlag_CCtor = (1<<5), /**< Object has a copy constructor (which takes const Object& as only parameter) */
1.9 +
1.10 + // The following two flags are only relevant for byval return types.
1.11 + // SH tries to auto-detect these
1.12 + // If you want to override SH's auto-detection, pass them in yourself
1.13 + PassFlag_RetMem = (1<<6), /**< Object is returned in memory (through hidden first param */
1.14 + PassFlag_RetReg = (1<<7) /**< Object is returned in EAX(:EDX) */
1.15 };
1.16
1.17 size_t size; //!< Size of the data being passed