Python-like Dictionary Library
Dictionary library similar to Python dict functionality
Loading...
Searching...
No Matches
Public Attributes | List of all members
_DICT Struct Reference

#include <cdict.h>

Collaboration diagram for _DICT:
Collaboration graph
[legend]

Public Attributes

PNODE table
 Pointer to an array of NODE structure.
 
WORD * hash_table
 Pointer to the hash table for hashing.
 
char * errmsg
 Description of the possible error.
 
int err
 Possible Error code.
 
void(* free_func )(void *)
 a pointer to the free function provided by user
 
void *(* copy_func )(void *)
 a pointer to the copy function provided by user
 

Detailed Description

This is the main structure to hold the dictionary.

Definition at line 40 of file cdict.h.

Member Data Documentation

◆ copy_func

void *(* _DICT::copy_func) (void *)

a pointer to the copy function provided by user

Definition at line 46 of file cdict.h.

◆ err

int _DICT::err

Possible Error code.

Definition at line 44 of file cdict.h.

◆ errmsg

char* _DICT::errmsg

Description of the possible error.

Definition at line 43 of file cdict.h.

◆ free_func

void(* _DICT::free_func) (void *)

a pointer to the free function provided by user

Definition at line 45 of file cdict.h.

◆ hash_table

WORD* _DICT::hash_table

Pointer to the hash table for hashing.

Definition at line 42 of file cdict.h.

◆ table

PNODE _DICT::table

Pointer to an array of NODE structure.

Definition at line 41 of file cdict.h.


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