Fix overriding functions with objects crashing.

This commit is contained in:
Dr!fter
2016-08-30 10:58:04 -04:00
parent 47cf76c2e3
commit 71b840e70a
4 changed files with 57 additions and 25 deletions
+5 -2
View File
@@ -84,8 +84,11 @@ enum MRESReturn
enum DHookPassFlag
{
DHookPass_ByVal = (1<<0),
DHookPass_ByRef = (1<<1)
DHookPass_ByVal = (1<<0), /**< Passing by value */
DHookPass_ByRef = (1<<1), /**< Passing by reference */
DHookPass_ODTOR = (1<<2), /**< Object has a destructor */
DHookPass_OCTOR = (1<<3), /**< Object has a constructor */
DHookPass_OASSIGNOP = (1<<4), /**< Object has an assignment operator */
};
typeset ListenCB