-
Notifications
You must be signed in to change notification settings - Fork 533
Open
Description
Brief Description
In my situation I have a typedefed C enum that is intended to be passed as a parameter to a function. However, this function declaration merely identifies the parameter as a long so there is no way for CppSharp to figure out that the 2 are related. How can I override the parameter of this function to use the Enum type?
OS: Windows
Used headers
// attribute
typedef enum
{
SP_ATTR_TIMEOUT = 1,
SP_ATTR_LOG = 2
} SP_ATTR_ENUM;
SP_EXPORT int SP_API SP_SetProperty (SP_HANDLE hDiag, long lProperty, long lFlag, const void *lpValue);
Metadata
Metadata
Assignees
Labels
No labels