Hi. I finished and pushed to ZHAW Gitorious Repos a new version of
KIARA. This is a minor feature release.
* New features:
1. Added support for most of basic primitive C-types:
IDL C-type
boolean int
i8 int8_t, signed char
u8 uint8_t, unsigned char
i16 int16_t, short
u16 uint16_t, unsigned short
i32 int32_t, int
u32 uint32_t, unsigned int
i64 int64_t, long long
u64 uint64_t, unsigned long long
Types like long, size_t, ssize_t are automatically mapped to the type
with the same bit-size on the platform (e.g. size_t == uint32_t on
32-bit platform, size_t == uint64_t on 64-bit platform). Currently there
is no automatic conversion between types with different bit-sizes (e.g.
you cannot map int32_t to int64_t).
The example, also covered by the unit test, is located in:
kiara/src/tests/basetypetest.c - client
kiara/src/tests/basetypetest_server.c - server
2. Added support for nested structures.
The structtest example was extended with serialization and
deserialization of a following nested structure:
typedef struct Vec3f {
float x;
float y;
float z;
} Vec3f;
typedef struct Quatf {
float r; // real part
Vec3f v; // imaginary vector
} Quatf;
typedef struct Location {
Vec3f position;
Quatf rotation;
} Location;
There are no changes in installation instructions.
Best,
Dmitri
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy