@@ -31113,7 +31113,7 @@ struct table {
3111331113 /** Find type index for (component) id.
3111431114 *
3111531115 * @param id The (component) id.
31116- * @return The index of the id in the table type, -1 if not found/
31116+ * @return The index of the id in the table type, -1 if not found.
3111731117 */
3111831118 int32_t type_index(flecs::id_t id) const {
3111931119 return ecs_table_get_type_index(world_, table_, id);
@@ -31122,7 +31122,7 @@ struct table {
3112231122 /** Find type index for type.
3112331123 *
3112431124 * @tparam T The type.
31125- * @return True if the table has the type, false if not.
31125+ * @return The index of the id in the table type, -1 if not found .
3112631126 */
3112731127 template <typename T>
3112831128 int32_t type_index() const {
@@ -31132,7 +31132,7 @@ struct table {
3113231132 /** Find type index for pair.
3113331133 * @param first First element of pair.
3113431134 * @param second Second element of pair.
31135- * @return True if the table has the pair, false if not.
31135+ * @return The index of the id in the table type, -1 if not found .
3113631136 */
3113731137 int32_t type_index(flecs::entity_t first, flecs::entity_t second) const {
3113831138 return type_index(ecs_pair(first, second));
@@ -31141,7 +31141,7 @@ struct table {
3114131141 /** Find type index for pair.
3114231142 * @tparam First First element of pair.
3114331143 * @param second Second element of pair.
31144- * @return True if the table has the pair, false if not.
31144+ * @return The index of the id in the table type, -1 if not found .
3114531145 */
3114631146 template <typename First>
3114731147 int32_t type_index(flecs::entity_t second) const {
@@ -31151,7 +31151,7 @@ struct table {
3115131151 /** Find type index for pair.
3115231152 * @tparam First First element of pair.
3115331153 * @tparam Second Second element of pair.
31154- * @return True if the table has the pair, false if not.
31154+ * @return The index of the id in the table type, -1 if not found .
3115531155 */
3115631156 template <typename First, typename Second>
3115731157 int32_t type_index() const {
@@ -31170,7 +31170,7 @@ struct table {
3117031170 /** Find column index for type.
3117131171 *
3117231172 * @tparam T The type.
31173- * @return True if the table has the type, false if not.
31173+ * @return The column index of the id in the table type, -1 if not found .
3117431174 */
3117531175 template <typename T>
3117631176 int32_t column_index() const {
@@ -31180,7 +31180,7 @@ struct table {
3118031180 /** Find column index for pair.
3118131181 * @param first First element of pair.
3118231182 * @param second Second element of pair.
31183- * @return True if the table has the pair, false if not.
31183+ * @return The column index of the id in the table type, -1 if not found .
3118431184 */
3118531185 int32_t column_index(flecs::entity_t first, flecs::entity_t second) const {
3118631186 return column_index(ecs_pair(first, second));
@@ -31189,7 +31189,7 @@ struct table {
3118931189 /** Find column index for pair.
3119031190 * @tparam First First element of pair.
3119131191 * @param second Second element of pair.
31192- * @return True if the table has the pair, false if not.
31192+ * @return The column index of the id in the table type, -1 if not found .
3119331193 */
3119431194 template <typename First>
3119531195 int32_t column_index(flecs::entity_t second) const {
@@ -31199,7 +31199,7 @@ struct table {
3119931199 /** Find column index for pair.
3120031200 * @tparam First First element of pair.
3120131201 * @tparam Second Second element of pair.
31202- * @return True if the table has the pair, false if not.
31202+ * @return The column index of the id in the table type, -1 if not found .
3120331203 */
3120431204 template <typename First, typename Second>
3120531205 int32_t column_index() const {
0 commit comments