Skip to content

Commit

Permalink
Merge pull request #393 from jean-roland/fix_tagging
Browse files Browse the repository at this point in the history
Missing owned types tags
  • Loading branch information
milyin authored Mar 29, 2024
2 parents 3913d15 + 4b21e46 commit f2b8029
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/zenoh-pico/api/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ _OWNED_TYPE_PTR(_z_config_t, config)
typedef struct {
_z_scouting_config_t *_val;
} z_scouting_config_t;
// tags{c.z_owned_scouting_config_t}
_OWNED_TYPE_PTR(_z_scouting_config_t, scouting_config)

/**
Expand Down Expand Up @@ -201,6 +202,7 @@ _OWNED_TYPE_PTR(_z_publisher_t, publisher)
typedef struct {
_z_queryable_t *_val;
} z_queryable_t;
// tags{c.z_owned_queryable_t}
_OWNED_TYPE_PTR(_z_queryable_t, queryable)

/**
Expand Down Expand Up @@ -542,6 +544,7 @@ typedef _z_reply_data_t z_reply_data_t;
*/
// tags{c.z_reply_t}
typedef _z_reply_t z_reply_t;
// tags{c.z_owned_reply_t}
_OWNED_TYPE_PTR(z_reply_t, reply)

/**
Expand All @@ -559,6 +562,7 @@ typedef _z_str_array_t z_str_array_t;
z_str_t *z_str_array_get(const z_str_array_t *a, size_t k);
size_t z_str_array_len(const z_str_array_t *a);
_Bool z_str_array_is_empty(const z_str_array_t *a);
// tags{c.z_owned_str_t}
_OWNED_TYPE_PTR(z_str_array_t, str_array)

typedef void (*_z_dropper_handler_t)(void *arg);
Expand Down

0 comments on commit f2b8029

Please sign in to comment.