COPP C ABI
C interface for COPP trajectory optimization
Loading...
Searching...
No Matches
CoppVecUsize Struct Reference

Library-owned usize vector returned to C. More...

#include <core.h>

Data Fields

size_t * data
 Pointer to the first element, or null for an empty vector.
size_t len
 Number of initialized elements.
size_t capacity
 Allocation capacity, used only by copp_vec_usize_free.

Detailed Description

Library-owned usize vector returned to C.

C callers may read data[0..len] and must release the vector exactly once with copp_vec_usize_free.

Field Documentation

◆ data

size_t* CoppVecUsize::data

Pointer to the first element, or null for an empty vector.

◆ len

size_t CoppVecUsize::len

Number of initialized elements.

◆ capacity

size_t CoppVecUsize::capacity

Allocation capacity, used only by copp_vec_usize_free.


The documentation for this struct was generated from the following file:
  • bindings/c/include/copp/core.h