// Returns the `i`th value. nfcd_loc nfcd_object_value(struct ConfigData *cd, nfcd_loc object, int i) { struct object_item *item = object_item(cd, object, i); if (!item) return nfcd_null(); return item->value; }
// Returns the `i`th key as a string. const char *nfcd_object_key(struct ConfigData *cd, nfcd_loc object, int i) { struct object_item *item = object_item(cd, object, i); if (!item) return NULL; return nfcd_to_string(cd, item->key); }
inline object_item object_operators<U>::operator[](object_cref key) { object_cref2 x = *static_cast<U*>(this); return object_item(x, key); }