mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-26 13:06:13 +01:00
Use size_t instead of unsigned int in Graphics
Also use sfUint64 for sampleCount in sfSoundBuffer_createFromSamples
This commit is contained in:
1 parent
1486a30e2f
commit
4720e109b6
17 files changed
+46
-39
No files matched your search
@@ -277,14 +277,14 @@ float sfCircleShape_getOutlineThickness(const sfCircleShape* shape)
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
unsigned int sfCircleShape_getPointCount(const sfCircleShape* shape)
|
||||
size_t sfCircleShape_getPointCount(const sfCircleShape* shape)
|
||||
{
|
||||
CSFML_CALL_RETURN(shape, getPointCount(), 0);
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
sfVector2f sfCircleShape_getPoint(const sfCircleShape* shape, unsigned int index)
|
||||
sfVector2f sfCircleShape_getPoint(const sfCircleShape* shape, size_t index)
|
||||
{
|
||||
sfVector2f point = {0, 0};
|
||||
CSFML_CHECK_RETURN(shape, point);
|
||||
@@ -312,7 +312,7 @@ float sfCircleShape_getRadius(const sfCircleShape* shape)
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
void sfCircleShape_setPointCount(sfCircleShape* shape, unsigned int count)
|
||||
void sfCircleShape_setPointCount(sfCircleShape* shape, size_t count)
|
||||
{
|
||||
CSFML_CALL(shape, setPointCount(count));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user