ObjFW  Check-in [722f0808e8]

Overview
Comment:Use floats for of_point_t and of_dimension_t.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 722f0808e8f41b8d6a0ccb543c0085b49ae7594969c5bc2d368d1a1241d85e7a
User & Date: js on 2011-06-28 18:14:00
Other Links: manifest | tags
Context
2011-06-28
21:07
Add serialization and deserialization to OFDataArray. check-in: bfa01e9b5c user: js tags: trunk
18:14
Use floats for of_point_t and of_dimension_t. check-in: 722f0808e8 user: js tags: trunk
01:51
Change serialization format to be way more readable and shorter. check-in: 756bb26c98 user: js tags: trunk
Changes

Modified src/OFObject.h from [93706299d5] to [59c945a116].

66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
	size_t length;
} of_range_t;

/**
 * \brief A point.
 */
typedef struct of_point_t {
	int x;
	int y;
} of_point_t;

/**
 * \brief A dimension.
 */
typedef struct of_dimension_t {
	int width;
	int height;
} of_dimension_t;

/**
 * \brief A rectangle.
 */
typedef struct of_rectangle_t
{







|
|






|
|







66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
	size_t length;
} of_range_t;

/**
 * \brief A point.
 */
typedef struct of_point_t {
	float x;
	float y;
} of_point_t;

/**
 * \brief A dimension.
 */
typedef struct of_dimension_t {
	float width;
	float height;
} of_dimension_t;

/**
 * \brief A rectangle.
 */
typedef struct of_rectangle_t
{