#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <except.h>
#include <glib.h>
#include <assert.h>
#include "nps.h"
Classes | |
struct | T |
Defines | |
#define | STR_(x) Str_## x |
#define | T STR_(T) |
#define | STR_INDEX_ERROR(i, j) RAISE_MSG(&STR_(Index_Error),"attempted index %ld of length %ld string\n",(i),(j)) |
Typedefs | |
typedef struct T * | T |
Functions | |
struct Except_t | STR_ (Index_Error) |
void STR_() | del (T s) |
T STR_() | of_utf8 (char *in_s) |
T STR_() | of_ascii (char *in_s) |
long STR_() | length (T s) |
T STR_() | copy (T s) |
T STR_() | concat (T s1, T s2) |
long STR_() | index (T db, T query) |
char STR_() | contains (T db, T query) |
char STR_() | contains_from (T db, T query) |
long STR_() | rindex (T db, T query) |
long STR_() | cmp (T s1, T s2) |
char *STR_() | to_utf8 (T s) |
T STR_() | sub (T s, long start, long n) |
#define STR_ | ( | x | ) | Str_## x |
#define STR_INDEX_ERROR | ( | i, | |||
j | ) | RAISE_MSG(&STR_(Index_Error),"attempted index %ld of length %ld string\n",(i),(j)) |
void STR_() del | ( | T | s | ) |
long STR_() length | ( | T | s | ) |
T STR_() of_ascii | ( | char * | in_s | ) |
T STR_() of_utf8 | ( | char * | in_s | ) |
struct Except_t STR_ | ( | Index_Error | ) | [read] |
char* STR_() to_utf8 | ( | T | s | ) |