@@ -74,11 +74,11 @@ /*! * @struct of_range_t OFObject.h ObjFW/OFObject.h * * @brief A range. */ -typedef struct { +typedef struct OF_BOXABLE { /*! The start of the range */ size_t location; /*! The length of the range */ size_t length; } of_range_t; @@ -106,11 +106,11 @@ /*! * @struct of_point_t OFObject.h ObjFW/OFObject.h * * @brief A point. */ -typedef struct { +typedef struct OF_BOXABLE { /*! The x coordinate of the point */ float x; /*! The y coordinate of the point */ float y; } of_point_t; @@ -133,11 +133,11 @@ /*! * @struct of_dimension_t OFObject.h ObjFW/OFObject.h * * @brief A dimension. */ -typedef struct { +typedef struct OF_BOXABLE { /*! The width of the dimension */ float width; /*! The height of the dimension */ float height; } of_dimension_t; @@ -160,11 +160,11 @@ /*! * @struct of_rectangle_t OFObject.h ObjFW/OFObject.h * * @brief A rectangle. */ -typedef struct { +typedef struct OF_BOXABLE { /*! The point from where the rectangle originates */ of_point_t origin; /*! The size of the rectangle */ of_dimension_t size; } of_rectangle_t;