Gamgee
You miserable little maggot. I'll stove your head in!
|
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
Go to the source code of this file.
Classes | |
struct | __kstring_t |
Macros | |
#define | KS_SEP_SPACE 0 |
#define | KS_SEP_TAB 1 |
#define | KS_SEP_LINE 2 |
#define | KS_SEP_MAX 2 |
#define | __KS_TYPE(type_t) |
#define | ks_eof(ks) ((ks)->is_eof && (ks)->begin >= (ks)->end) |
#define | ks_rewind(ks) ((ks)->is_eof = (ks)->begin = (ks)->end = 0) |
#define | __KS_BASIC(SCOPE, type_t, __bufsize) |
#define | __KS_INLINED(__read) |
#define | KSTRING_T kstring_t |
#define | kroundup32(x) (--(x), (x)|=(x)>>1, (x)|=(x)>>2, (x)|=(x)>>4, (x)|=(x)>>8, (x)|=(x)>>16, ++(x)) |
#define | __KS_GETUNTIL(SCOPE, __read) |
#define | KSTREAM_INIT2(SCOPE, type_t, __read, __bufsize) |
#define | KSTREAM_INIT(type_t, __read, __bufsize) KSTREAM_INIT2(static, type_t, __read, __bufsize) |
#define | KSTREAM_DECLARE(type_t, __read) |
#define | kseq_rewind(ks) ((ks)->last_char = (ks)->f->is_eof = (ks)->f->begin = (ks)->f->end = 0) |
#define | __KSEQ_BASIC(SCOPE, type_t) |
#define | __KSEQ_READ(SCOPE) |
#define | __KSEQ_TYPE(type_t) |
#define | KSEQ_INIT2(SCOPE, type_t, __read) |
#define | KSEQ_INIT(type_t, __read) KSEQ_INIT2(static, type_t, __read) |
#define | KSEQ_DECLARE(type_t) |
Typedefs | |
typedef struct __kstring_t | kstring_t |
#define __KS_BASIC | ( | SCOPE, | |
type_t, | |||
__bufsize | |||
) |
#define __KS_GETUNTIL | ( | SCOPE, | |
__read | |||
) |
#define __KS_INLINED | ( | __read | ) |
#define __KS_TYPE | ( | type_t | ) |
#define __KSEQ_BASIC | ( | SCOPE, | |
type_t | |||
) |
#define __KSEQ_READ | ( | SCOPE | ) |
#define __KSEQ_TYPE | ( | type_t | ) |
#define kroundup32 | ( | x | ) | (--(x), (x)|=(x)>>1, (x)|=(x)>>2, (x)|=(x)>>4, (x)|=(x)>>8, (x)|=(x)>>16, ++(x)) |
#define ks_eof | ( | ks | ) | ((ks)->is_eof && (ks)->begin >= (ks)->end) |
#define ks_rewind | ( | ks | ) | ((ks)->is_eof = (ks)->begin = (ks)->end = 0) |
#define KS_SEP_LINE 2 |
#define KS_SEP_MAX 2 |
#define KS_SEP_SPACE 0 |
#define KS_SEP_TAB 1 |
#define KSEQ_DECLARE | ( | type_t | ) |
#define KSEQ_INIT | ( | type_t, | |
__read | |||
) | KSEQ_INIT2(static, type_t, __read) |
#define KSEQ_INIT2 | ( | SCOPE, | |
type_t, | |||
__read | |||
) |
#define kseq_rewind | ( | ks | ) | ((ks)->last_char = (ks)->f->is_eof = (ks)->f->begin = (ks)->f->end = 0) |
#define KSTREAM_DECLARE | ( | type_t, | |
__read | |||
) |
#define KSTREAM_INIT | ( | type_t, | |
__read, | |||
__bufsize | |||
) | KSTREAM_INIT2(static, type_t, __read, __bufsize) |
#define KSTREAM_INIT2 | ( | SCOPE, | |
type_t, | |||
__read, | |||
__bufsize | |||
) |
#define KSTRING_T kstring_t |
typedef struct __kstring_t kstring_t |