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

Opaque handle types for the CppInterOp C and C++ API. More...

#include "include/CppInterOp/CppInterOpTypes.h"

Collaboration diagram for CppDeclRef:
Collaboration graph
[legend]

Public Attributes

void * data
 

Detailed Description

Opaque handle types for the CppInterOp C and C++ API.

Each handle wraps a single void* and is a distinct type so the compiler rejects cross-kind misuse (e.g. passing a TypeRef where a DeclRef is expected). Layout is identical across all handles — a single pointer — so they are trivially copyable and ABI-stable.

The C and C++ views are declared independently:

Definition at line 66 of file CppInterOpTypes.h.

Member Data Documentation

◆ data

void* CppDeclRef::data

Definition at line 67 of file CppInterOpTypes.h.


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