CppInterOp
C++ Language Interoperability Layer
Loading...
Searching...
No Matches
Public Attributes | List of all members
CppInterOpStringArray Struct Reference

C-compatible array of strings, returned by generated C API wrappers for functions that produce string collections. More...

#include "include/CppInterOp/CppInterOpTypes.h"

Collaboration diagram for CppInterOpStringArray:
Collaboration graph
[legend]

Public Attributes

char ** data
 
size_t size
 

Detailed Description

C-compatible array of strings, returned by generated C API wrappers for functions that produce string collections.

Each string is individually allocated with strdup(). The caller must free the array by calling cppinterop_DisposeStringArray().

Definition at line 252 of file CppInterOpTypes.h.

Member Data Documentation

◆ data

char** CppInterOpStringArray::data

Definition at line 253 of file CppInterOpTypes.h.

◆ size

size_t CppInterOpStringArray::size

Definition at line 254 of file CppInterOpTypes.h.


The documentation for this struct was generated from the following file: