setting correct experimenter types
diff --git a/c_gen/c_type_maps.py b/c_gen/c_type_maps.py
index 984d1b1..7c7359d 100644
--- a/c_gen/c_type_maps.py
+++ b/c_gen/c_type_maps.py
@@ -253,9 +253,12 @@
if (!OF_VERSION_OKAY(version)) {
return OF_OBJECT_INVALID;
}
- if (%(name)s == OF_EXPERIMENTER_TYPE) {
+ if (%(name)s == 0xffff) {
return OF_%(u_name)s_EXPERIMENTER;
}
+ if (%(name)s == 0xfffe) {
+ return OF_%(u_name)s_EXPERIMENTER_MISS;
+ }
if (%(name)s < 0 || %(name)s >= OF_%(u_name)s_ITEM_COUNT) {
return OF_OBJECT_INVALID;
}