BNTypeParserCallbacks Struct Reference

Public Attributes

void * context
 
bool(* preprocessSource )(void *ctxt, const char *source, const char *fileName, BNPlatform *platform, const BNQualifiedNameTypeAndId *existingTypes, size_t existingTypeCount, const char *const *options, size_t optionCount, const char *const *includeDirs, size_t includeDirCount, char **output, BNTypeParserError **errors, size_t *errorCount)
 
bool(* parseTypesFromSource )(void *ctxt, const char *source, const char *fileName, BNPlatform *platform, const BNQualifiedNameTypeAndId *existingTypes, size_t existingTypeCount, const char *const *options, size_t optionCount, const char *const *includeDirs, size_t includeDirCount, const char *autoTypeSource, BNTypeParserResult *result, BNTypeParserError **errors, size_t *errorCount)
 
bool(* parseTypeString )(void *ctxt, const char *source, BNPlatform *platform, const BNQualifiedNameTypeAndId *existingTypes, size_t existingTypeCount, BNQualifiedNameAndType *result, BNTypeParserError **errors, size_t *errorCount)
 
void(* freeString )(void *ctxt, char *string)
 
void(* freeResult )(void *ctxt, BNTypeParserResult *result)
 
void(* freeErrorList )(void *ctxt, BNTypeParserError *errors, size_t errorCount)
 

Member Data Documentation

◆ context

void* BNTypeParserCallbacks::context

◆ freeErrorList

void(* BNTypeParserCallbacks::freeErrorList) (void *ctxt, BNTypeParserError *errors, size_t errorCount)

◆ freeResult

void(* BNTypeParserCallbacks::freeResult) (void *ctxt, BNTypeParserResult *result)

◆ freeString

void(* BNTypeParserCallbacks::freeString) (void *ctxt, char *string)

◆ parseTypesFromSource

bool(* BNTypeParserCallbacks::parseTypesFromSource) (void *ctxt, const char *source, const char *fileName, BNPlatform *platform, const BNQualifiedNameTypeAndId *existingTypes, size_t existingTypeCount, const char *const *options, size_t optionCount, const char *const *includeDirs, size_t includeDirCount, const char *autoTypeSource, BNTypeParserResult *result, BNTypeParserError **errors, size_t *errorCount)

◆ parseTypeString

bool(* BNTypeParserCallbacks::parseTypeString) (void *ctxt, const char *source, BNPlatform *platform, const BNQualifiedNameTypeAndId *existingTypes, size_t existingTypeCount, BNQualifiedNameAndType *result, BNTypeParserError **errors, size_t *errorCount)

◆ preprocessSource

bool(* BNTypeParserCallbacks::preprocessSource) (void *ctxt, const char *source, const char *fileName, BNPlatform *platform, const BNQualifiedNameTypeAndId *existingTypes, size_t existingTypeCount, const char *const *options, size_t optionCount, const char *const *includeDirs, size_t includeDirCount, char **output, BNTypeParserError **errors, size_t *errorCount)

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