Ruby
2.5.0dev(2017-10-22revision60238)
|
Go to the source code of this file.
Data Structures | |
struct | FBufferStruct |
Macros | |
#define | RHASH_SIZE(hsh) (RHASH(hsh)->tbl->num_entries) |
#define | RB_OBJ_CLASSNAME(obj) rb_obj_class(obj) |
#define | RB_OBJ_STRING(obj) (obj) |
#define | FORCE_UTF8(obj) rb_enc_associate((obj), rb_utf8_encoding()) |
#define | FBUFFER_INITIAL_LENGTH_DEFAULT 1024 |
#define | FBUFFER_PTR(fb) (fb->ptr) |
#define | FBUFFER_LEN(fb) (fb->len) |
#define | FBUFFER_CAPA(fb) (fb->capa) |
#define | FBUFFER_PAIR(fb) FBUFFER_PTR(fb), FBUFFER_LEN(fb) |
Typedefs | |
typedef struct FBufferStruct | FBuffer |
#define FBUFFER_PAIR | ( | fb | ) | FBUFFER_PTR(fb), FBUFFER_LEN(fb) |
#define FORCE_UTF8 | ( | obj | ) | rb_enc_associate((obj), rb_utf8_encoding()) |
#define RB_OBJ_CLASSNAME | ( | obj | ) | rb_obj_class(obj) |
#define RHASH_SIZE | ( | hsh | ) | (RHASH(hsh)->tbl->num_entries) |
Definition at line 8 of file fbuffer.h.
Referenced by rb_hash_keys(), rb_hash_size(), and rb_hash_values().
typedef struct FBufferStruct FBuffer |