#include <stdarg.h>
#include "Intern.h"
#include "../error/error.h"
#include <stdlib.h>
#include "../hash/htab32.c"
Classes | |
struct | Nps_Intern |
Defines | |
#define | NPS_INTERN_FOREACH(o, k, v) |
Functions | |
int | nps_InternIntern (struct Nps_Intern *o, nps_error_t *err, const char *const key, int64_t *result) |
char | nps_InternIsFrozen (struct Nps_Intern *o) |
void | nps_InternFreeze (struct Nps_Intern *o) |
int64_t | nps_InternLen (struct Nps_Intern *o) |
struct Nps_Intern * | nps_newIntern (nps_error_t *err, int64_t size) |
struct Nps_Intern * | Nps_Intern_ctor (struct Nps_Intern *o, nps_error_t *error, va_list *app) |
int | Nps_Intern_dtor (struct Nps_Intern *o, nps_error_t *err) |
int | nps_initIntern (nps_error_t *err) |
char ** | nps_InternInvert (struct Nps_Intern *o, nps_error_t *err) |
int | nps_InternSave (struct Nps_Intern *o, nps_error_t *err, const char *filename) |
struct Nps_Intern * | nps_InternLoad (nps_error_t *err, const char *filename) |
Variables | |
struct Nps_Intern * | Nps_Intern |
nps_domain_t | Nps_Intern_Domain = {"Intern"} |
#define NPS_INTERN_FOREACH | ( | o, | |||
k, | |||||
v | ) |
for (uint64_t _nps_htab_cnt = -1; \ _nps_htab_cnt=_nps_htab_next(((nps_htab_t*)(o->htab)),_nps_htab_cnt+1), \ ((_nps_htab_cnt < nps_htab_sizes[((nps_htab_t*)(o->htab))->allocIx]) && \ ((k)=((nps_htab_t*)(o->htab))->tab[_nps_htab_cnt].key, \ (v)=((nps_htab_t*)(o->htab))->tab[_nps_htab_cnt].value,1));) \
int nps_initIntern | ( | nps_error_t * | err | ) |
struct Nps_Intern* Nps_Intern_ctor | ( | struct Nps_Intern * | o, | |
nps_error_t * | error, | |||
va_list * | app | |||
) | [read] |
int Nps_Intern_dtor | ( | struct Nps_Intern * | o, | |
nps_error_t * | err | |||
) |
void nps_InternFreeze | ( | struct Nps_Intern * | o | ) |
int nps_InternIntern | ( | struct Nps_Intern * | o, | |
nps_error_t * | err, | |||
const char *const | key, | |||
int64_t * | result | |||
) |
char** nps_InternInvert | ( | struct Nps_Intern * | o, | |
nps_error_t * | err | |||
) |
char nps_InternIsFrozen | ( | struct Nps_Intern * | o | ) |
int64_t nps_InternLen | ( | struct Nps_Intern * | o | ) |
struct Nps_Intern* nps_InternLoad | ( | nps_error_t * | err, | |
const char * | filename | |||
) | [read] |
int nps_InternSave | ( | struct Nps_Intern * | o, | |
nps_error_t * | err, | |||
const char * | filename | |||
) |
struct Nps_Intern* nps_newIntern | ( | nps_error_t * | err, | |
int64_t | size | |||
) | [read] |
struct Nps_Intern* Nps_Intern |
nps_domain_t Nps_Intern_Domain = {"Intern"} |