Code completion parsing bug:
following code got missing functions in struct dafuq_t:#define DLL_CALLCONV_ __stdcall
typedef struct{char b;char g;char r;char a;} RGBQUAD_;
typedef struct{
BYTE *(DLL_CALLCONV_ *FI_GetBits)(void *dib);
BYTE *(DLL_CALLCONV_ *FI_GetScanLine)(void *dib, int scanline);
BOOL (DLL_CALLCONV_ *FI_GetPixelIndex)(void *dib, unsigned x, unsigned y, BYTE *value);
BOOL (DLL_CALLCONV_ *FI_GetPixelColor)(void *dib, unsigned x, unsigned y, RGBQUAD_ *value);
BOOL (DLL_CALLCONV_ *FI_SetPixelIndex)(void *dib, unsigned x, unsigned y, BYTE *value);
BOOL (DLL_CALLCONV_ *FI_SetPixelColor)(void *dib, unsigned x, unsigned y, RGBQUAD_ *value);
unsigned (DLL_CALLCONV_ *FI_GetDIBSize)(void *dib);
RGBQUAD_ *(DLL_CALLCONV_ *FI_GetPalette)(void *dib);
} dafuq_t;
dafuq_t* dafuq;
FI_GetBits, FI_GetScanLine and FI_GetPalette aren't detected because their return value is a pointer.
Also it doesn't seem like "dafuq" is correctly resolved.. "dafuq->" doesn't popup a member list. (and in case I understood cctest correctly, it also doesn't list its members)
I've run into problems relating function pointers a few times already... but I'm not sure if they were all related to pointer return values like here