PostgreSQL Source Code: src/backend/snowball/libstemmer/api.c Source File (original) (raw)

Go to the documentation of this file.

1#include "snowball_runtime.h"

2

4

6{

11 if (z->p == NULL) {

14 }

15 return z;

16}

17

19{

20 if (z == NULL) return;

23}

24

26{

28 z->c = 0;

29 return err;

30}

int SN_set_current(struct SN_env *z, int size, const symbol *s)

static const struct SN_env default_SN_env

void SN_delete_env(struct SN_env *z)

struct SN_env * SN_new_env(int alloc_size)

void err(int eval, const char *fmt,...)

SNOWBALL_ERR replace_s(struct SN_env *z, int c_bra, int c_ket, int s_size, const symbol *s)