@@ -599,7 +599,7 @@ lib CSFML
599
599
# * `shape`: Shape object
600
600
#
601
601
# *Returns*: Number of points of the shape
602
- fun circle_shape_get_point_count = sfCircleShape_getPointCount (shape : CircleShape ): SizeT
602
+ fun circle_shape_get_point_count = sfCircleShape_getPointCount (shape : CircleShape ): LibC :: SizeT
603
603
604
604
# Get a point of a circle shape
605
605
#
@@ -611,7 +611,7 @@ lib CSFML
611
611
# * `index`: Index of the point to get, in range [0 .. get_point_count() - 1]
612
612
#
613
613
# *Returns*: Index-th point of the shape
614
- fun circle_shape_get_point = sfCircleShape_getPoint (shape : CircleShape , index : SizeT ): Vector2f
614
+ fun circle_shape_get_point = sfCircleShape_getPoint (shape : CircleShape , index : LibC :: SizeT ): Vector2f
615
615
616
616
# Set the radius of a circle
617
617
#
@@ -636,7 +636,7 @@ lib CSFML
636
636
#
637
637
# * `shape`: Shape object
638
638
# * `count`: New number of points of the circle
639
- fun circle_shape_set_point_count = sfCircleShape_setPointCount (shape : CircleShape , count : SizeT )
639
+ fun circle_shape_set_point_count = sfCircleShape_setPointCount (shape : CircleShape , count : LibC :: SizeT )
640
640
641
641
# Get the local bounding rectangle of a circle shape
642
642
#
@@ -955,7 +955,7 @@ lib CSFML
955
955
# * `shape`: Shape object
956
956
#
957
957
# *Returns*: Number of points of the shape
958
- fun convex_shape_get_point_count = sfConvexShape_getPointCount (shape : ConvexShape ): SizeT
958
+ fun convex_shape_get_point_count = sfConvexShape_getPointCount (shape : ConvexShape ): LibC :: SizeT
959
959
960
960
# Get a point of a convex shape
961
961
#
@@ -967,7 +967,7 @@ lib CSFML
967
967
# * `index`: Index of the point to get, in range [0 .. get_point_count() - 1]
968
968
#
969
969
# *Returns*: Index-th point of the shape
970
- fun convex_shape_get_point = sfConvexShape_getPoint (shape : ConvexShape , index : SizeT ): Vector2f
970
+ fun convex_shape_get_point = sfConvexShape_getPoint (shape : ConvexShape , index : LibC :: SizeT ): Vector2f
971
971
972
972
# Set the number of points of a convex shap
973
973
#
@@ -977,7 +977,7 @@ lib CSFML
977
977
#
978
978
# * `shape`: Shape object
979
979
# * `count`: New number of points of the shape
980
- fun convex_shape_set_point_count = sfConvexShape_setPointCount (shape : ConvexShape , count : SizeT )
980
+ fun convex_shape_set_point_count = sfConvexShape_setPointCount (shape : ConvexShape , count : LibC :: SizeT )
981
981
982
982
# Set the position of a point in a convex shape
983
983
#
@@ -992,7 +992,7 @@ lib CSFML
992
992
# * `shape`: Shape object
993
993
# * `index`: Index of the point to change, in range [0 .. GetPointCount() - 1]
994
994
# * `point`: New point
995
- fun convex_shape_set_point = sfConvexShape_setPoint (shape : ConvexShape , index : SizeT , point : Vector2f )
995
+ fun convex_shape_set_point = sfConvexShape_setPoint (shape : ConvexShape , index : LibC :: SizeT , point : Vector2f )
996
996
997
997
# Get the local bounding rectangle of a convex shape
998
998
#
@@ -1052,7 +1052,7 @@ lib CSFML
1052
1052
# * `size_in_bytes`: Size of the data to load, in bytes
1053
1053
#
1054
1054
# *Returns*: A new Font object, or NULL if it failed
1055
- fun font_create_from_memory = sfFont_createFromMemory (data : Void * , size_in_bytes : SizeT ): Font
1055
+ fun font_create_from_memory = sfFont_createFromMemory (data : Void * , size_in_bytes : LibC :: SizeT ): Font
1056
1056
1057
1057
# Create a new image font a custom stream
1058
1058
#
@@ -1227,7 +1227,7 @@ lib CSFML
1227
1227
# * `size`: Size of the data to load, in bytes
1228
1228
#
1229
1229
# *Returns*: A new Image object, or NULL if it failed
1230
- fun image_create_from_memory = sfImage_createFromMemory (data : Void * , size : SizeT ): Image
1230
+ fun image_create_from_memory = sfImage_createFromMemory (data : Void * , size : LibC :: SizeT ): Image
1231
1231
1232
1232
# Create an image from a custom stream
1233
1233
#
@@ -1673,7 +1673,7 @@ lib CSFML
1673
1673
# * `shape`: Shape object
1674
1674
#
1675
1675
# *Returns*: Number of points of the shape
1676
- fun rectangle_shape_get_point_count = sfRectangleShape_getPointCount (shape : RectangleShape ): SizeT
1676
+ fun rectangle_shape_get_point_count = sfRectangleShape_getPointCount (shape : RectangleShape ): LibC :: SizeT
1677
1677
1678
1678
# Get a point of a rectangle shape
1679
1679
#
@@ -1685,7 +1685,7 @@ lib CSFML
1685
1685
# * `index`: Index of the point to get, in range [0 .. get_point_count() - 1]
1686
1686
#
1687
1687
# *Returns*: Index-th point of the shape
1688
- fun rectangle_shape_get_point = sfRectangleShape_getPoint (shape : RectangleShape , index : SizeT ): Vector2f
1688
+ fun rectangle_shape_get_point = sfRectangleShape_getPoint (shape : RectangleShape , index : LibC :: SizeT ): Vector2f
1689
1689
1690
1690
# Set the size of a rectangle shape
1691
1691
#
@@ -1917,7 +1917,7 @@ lib CSFML
1917
1917
# * `vertex_count`: Number of vertices in the array
1918
1918
# * `type`: Type of primitives to draw
1919
1919
# * `states`: Render states to use for drawing (NULL to use the default states)
1920
- fun render_texture_draw_primitives = sfRenderTexture_drawPrimitives (render_texture : RenderTexture , vertices : Vertex * , vertex_count : SizeT , type : PrimitiveType , states : RenderStates * )
1920
+ fun render_texture_draw_primitives = sfRenderTexture_drawPrimitives (render_texture : RenderTexture , vertices : Vertex * , vertex_count : LibC :: SizeT , type : PrimitiveType , states : RenderStates * )
1921
1921
1922
1922
# Save the current OpenGL render states and matrices
1923
1923
#
@@ -2371,7 +2371,7 @@ lib CSFML
2371
2371
# * `vertex_count`: Number of vertices in the array
2372
2372
# * `type`: Type of primitives to draw
2373
2373
# * `states`: Render states to use for drawing (NULL to use the default states)
2374
- fun render_window_draw_primitives = sfRenderWindow_drawPrimitives (render_window : RenderWindow , vertices : Vertex * , vertex_count : SizeT , type : PrimitiveType , states : RenderStates * )
2374
+ fun render_window_draw_primitives = sfRenderWindow_drawPrimitives (render_window : RenderWindow , vertices : Vertex * , vertex_count : LibC :: SizeT , type : PrimitiveType , states : RenderStates * )
2375
2375
2376
2376
# Save the current OpenGL render states and matrices
2377
2377
#
@@ -2725,8 +2725,8 @@ lib CSFML
2725
2725
# *Returns*: True if the system can use shaders, False otherwise
2726
2726
fun shader_is_available = sfShader_isAvailable (): CSFML ::Bool
2727
2727
2728
- alias ShapeGetPointCountCallback = (Void * ) - > SizeT
2729
- alias ShapeGetPointCallback = (SizeT , Void * ) - > Vector2f
2728
+ alias ShapeGetPointCountCallback = (Void * ) - > LibC :: SizeT
2729
+ alias ShapeGetPointCallback = (LibC :: SizeT , Void * ) - > Vector2f
2730
2730
# Create a new shape
2731
2731
#
2732
2732
# *Arguments*:
@@ -3011,7 +3011,7 @@ lib CSFML
3011
3011
# * `shape`: Shape object
3012
3012
#
3013
3013
# *Returns*: Number of points of the shape
3014
- fun shape_get_point_count = sfShape_getPointCount (shape : Shape ): SizeT
3014
+ fun shape_get_point_count = sfShape_getPointCount (shape : Shape ): LibC :: SizeT
3015
3015
3016
3016
# Get a point of a shape
3017
3017
#
@@ -3023,7 +3023,7 @@ lib CSFML
3023
3023
# * `index`: Index of the point to get, in range [0 .. get_point_count() - 1]
3024
3024
#
3025
3025
# *Returns*: Index-th point of the shape
3026
- fun shape_get_point = sfShape_getPoint (shape : Shape , index : SizeT ): Vector2f
3026
+ fun shape_get_point = sfShape_getPoint (shape : Shape , index : LibC :: SizeT ): Vector2f
3027
3027
3028
3028
# Get the local bounding rectangle of a shape
3029
3029
#
@@ -3632,7 +3632,7 @@ lib CSFML
3632
3632
# * `index`: Index of the character
3633
3633
#
3634
3634
# *Returns*: Position of the character
3635
- fun text_find_character_pos = sfText_findCharacterPos (text : Text , index : SizeT ): Vector2f
3635
+ fun text_find_character_pos = sfText_findCharacterPos (text : Text , index : LibC :: SizeT ): Vector2f
3636
3636
3637
3637
# Get the local bounding rectangle of a text
3638
3638
#
@@ -3693,7 +3693,7 @@ lib CSFML
3693
3693
# * `area`: Area of the source image to load (NULL to load the entire image)
3694
3694
#
3695
3695
# *Returns*: A new Texture object, or NULL if it failed
3696
- fun texture_create_from_memory = sfTexture_createFromMemory (data : Void * , size_in_bytes : SizeT , area : IntRect * ): Texture
3696
+ fun texture_create_from_memory = sfTexture_createFromMemory (data : Void * , size_in_bytes : LibC :: SizeT , area : IntRect * ): Texture
3697
3697
3698
3698
# Create a new texture from a custom stream
3699
3699
#
@@ -4058,7 +4058,7 @@ lib CSFML
4058
4058
# * `vertex_array`: Vertex array object
4059
4059
#
4060
4060
# *Returns*: Number of vertices in the array
4061
- fun vertex_array_get_vertex_count = sfVertexArray_getVertexCount (vertex_array : VertexArray ): SizeT
4061
+ fun vertex_array_get_vertex_count = sfVertexArray_getVertexCount (vertex_array : VertexArray ): LibC :: SizeT
4062
4062
4063
4063
# Get access to a vertex by its index
4064
4064
#
@@ -4072,7 +4072,7 @@ lib CSFML
4072
4072
# * `index`: Index of the vertex to get
4073
4073
#
4074
4074
# *Returns*: Pointer to the index-th vertex
4075
- fun vertex_array_get_vertex = sfVertexArray_getVertex (vertex_array : VertexArray , index : SizeT ): Vertex *
4075
+ fun vertex_array_get_vertex = sfVertexArray_getVertex (vertex_array : VertexArray , index : LibC :: SizeT ): Vertex *
4076
4076
4077
4077
# Clear a vertex array
4078
4078
#
@@ -4098,7 +4098,7 @@ lib CSFML
4098
4098
#
4099
4099
# * `vertex_array`: Vertex array objet
4100
4100
# * `vertex_count`: New size of the array (number of vertices)
4101
- fun vertex_array_resize = sfVertexArray_resize (vertex_array : VertexArray , vertex_count : SizeT )
4101
+ fun vertex_array_resize = sfVertexArray_resize (vertex_array : VertexArray , vertex_count : LibC :: SizeT )
4102
4102
4103
4103
# Add a vertex to a vertex array array
4104
4104
#
0 commit comments