Closed lithiumtoast closed 2 years ago
The function below was mistakenly transpiled; but it happens only on Windows?
/** * Returns true if point resides inside a rectangle. */ SDL_FORCE_INLINE SDL_bool SDL_PointInRect(const SDL_Point *p, const SDL_Rect *r) { return ( (p->x >= r->x) && (p->x < (r->x + r->w)) && (p->y >= r->y) && (p->y < (r->y + r->h)) ) ? SDL_TRUE : SDL_FALSE; }
// Function @ SDL_rect.h:110:27 // x86_64-pc-windows-msvc // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] public static extern CBool SDL_PointInRect(SDL_Point* p, SDL_Rect* r);
The function below was mistakenly transpiled; but it happens only on Windows?