victorfisac/Physac

Typo in physac.h

iN1PE opened this issue · 1 comments

iN1PE commented

At around like 255, I believe there is a typo and instead of:

int __stdcall QueryPerformanceCounter(unsigned long long int* lpPerformanceCount);
int __stdcall QueryPerformanceFrequency(unsigned long long int* lpFrequency);

there should be:

#if defined(__cplusplus)
extern "C" {                                    // Prevents name mangling of functions
#endif
int __stdcall QueryPerformanceCounter(unsigned long long int* lpPerformanceCount);
int __stdcall QueryPerformanceFrequency(unsigned long long int* lpFrequency);
#if defined(__cplusplus)
}
#endif

Thank you for this fix. I have commited it in master branch.