cmEngine  0.1.1
A library for interpreting CMake code.
Data Fields
cmSymbol Struct Reference

#include <cmSymbol.h>

Data Fields

struct cmHosthost
 
char * key
 
size_t key_size
 
void * data
 
void *(* copy )(struct cmHost *host, const void *data)
 
void(* release )(struct cmHost *host, void *data)
 

Detailed Description

This structure is used to contain a symbol. A symbol may be a function, variable, or policy.

Field Documentation

§ copy

void*(* cmSymbol::copy) (struct cmHost *host, const void *data)

Makes a copy of the symbol.

§ data

void* cmSymbol::data

The data associated with the symbol.

§ host

struct cmHost* cmSymbol::host

The host used for memory allocation.

§ key

char* cmSymbol::key

The key used to search for the symbol.

§ key_size

size_t cmSymbol::key_size

The number of characters in the key.

§ release

void(* cmSymbol::release) (struct cmHost *host, void *data)

Called to release the symbols data when the symbol goes out of scope.


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