ΒΆenum CXErrorCode
clang_ModuleMapDescriptor_writeToBuffer(
    CXModuleMapDescriptor,
    unsigned int options,
    char** out_buffer_ptr,
    unsigned int* out_buffer_size)

Description

Write out the \c CXModuleMapDescriptor object to a char buffer.

Declared at: clang/include/clang-c/BuildSystem.h:137

Parameters

CXModuleMapDescriptor
unsigned int options
is reserved, always pass 0.
char** out_buffer_ptr
pointer to receive the buffer pointer, which should be disposed using \c clang_free().
unsigned int* out_buffer_size
pointer to receive the buffer size.

Returns

0 for success, non-zero to indicate an error.