Groonga 3.0.9 Source Code Document
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Functions
hash.c File Reference
#include "mruby.h"
#include "mruby/array.h"
#include "mruby/class.h"
#include "mruby/hash.h"
#include "mruby/khash.h"
#include "mruby/string.h"
#include "mruby/variable.h"
Include dependency graph for hash.c:

Go to the source code of this file.

Macros

#define KEY(key)   mrb_hash_ht_key(mrb, key)

Functions

void mrb_gc_mark_hash (mrb_state *mrb, struct RHash *hash)
size_t mrb_gc_mark_hash_size (mrb_state *mrb, struct RHash *hash)
void mrb_gc_free_hash (mrb_state *mrb, struct RHash *hash)
mrb_value mrb_hash_new_capa (mrb_state *mrb, int capa)
mrb_value mrb_hash_new (mrb_state *mrb)
mrb_value mrb_hash_get (mrb_state *mrb, mrb_value hash, mrb_value key)
mrb_value mrb_hash_fetch (mrb_state *mrb, mrb_value hash, mrb_value key, mrb_value def)
void mrb_hash_set (mrb_state *mrb, mrb_value hash, mrb_value key, mrb_value val)
mrb_value mrb_hash_dup (mrb_state *mrb, mrb_value hash)
mrb_value mrb_check_hash_type (mrb_state *mrb, mrb_value hash)
 khash_t (ht)
mrb_value mrb_hash_aget (mrb_state *mrb, mrb_value self)
mrb_value mrb_hash_delete_key (mrb_state *mrb, mrb_value hash, mrb_value key)
mrb_value mrb_hash_delete (mrb_state *mrb, mrb_value self)
mrb_value mrb_hash_clear (mrb_state *mrb, mrb_value hash)
mrb_value mrb_hash_aset (mrb_state *mrb, mrb_value self)
mrb_value mrb_hash_empty_p (mrb_state *mrb, mrb_value self)
mrb_value mrb_hash_keys (mrb_state *mrb, mrb_value hash)
mrb_value mrb_hash_assoc (mrb_state *mrb, mrb_value hash)
mrb_value mrb_hash_rassoc (mrb_state *mrb, mrb_value hash)
void mrb_init_hash (mrb_state *mrb)

Macro Definition Documentation

#define KEY (   key)    mrb_hash_ht_key(mrb, key)

Definition at line 46 of file hash.c.

Function Documentation

khash_t ( ht  )

Definition at line 191 of file hash.c.

Here is the caller graph for this function:

mrb_value mrb_check_hash_type ( mrb_state mrb,
mrb_value  hash 
)

Definition at line 186 of file hash.c.

Here is the call graph for this function:

void mrb_gc_free_hash ( mrb_state mrb,
struct RHash hash 
)

Definition at line 74 of file hash.c.

void mrb_gc_mark_hash ( mrb_state mrb,
struct RHash hash 
)

Definition at line 49 of file hash.c.

Here is the call graph for this function:

size_t mrb_gc_mark_hash_size ( mrb_state mrb,
struct RHash hash 
)

Definition at line 67 of file hash.c.

mrb_value mrb_hash_aget ( mrb_state mrb,
mrb_value  self 
)

Definition at line 323 of file hash.c.

Here is the call graph for this function:

Here is the caller graph for this function:

mrb_value mrb_hash_aset ( mrb_state mrb,
mrb_value  self 
)

Definition at line 687 of file hash.c.

Here is the call graph for this function:

Here is the caller graph for this function:

mrb_value mrb_hash_assoc ( mrb_state mrb,
mrb_value  hash 
)

Definition at line 1147 of file hash.c.

Here is the call graph for this function:

mrb_value mrb_hash_clear ( mrb_state mrb,
mrb_value  hash 
)

Definition at line 659 of file hash.c.

Here is the call graph for this function:

Here is the caller graph for this function:

mrb_value mrb_hash_delete ( mrb_state mrb,
mrb_value  self 
)

Definition at line 524 of file hash.c.

Here is the call graph for this function:

Here is the caller graph for this function:

mrb_value mrb_hash_delete_key ( mrb_state mrb,
mrb_value  hash,
mrb_value  key 
)

Definition at line 486 of file hash.c.

Here is the call graph for this function:

Here is the caller graph for this function:

mrb_value mrb_hash_dup ( mrb_state mrb,
mrb_value  hash 
)

Definition at line 159 of file hash.c.

Here is the call graph for this function:

mrb_value mrb_hash_empty_p ( mrb_state mrb,
mrb_value  self 
)

Definition at line 776 of file hash.c.

Here is the call graph for this function:

Here is the caller graph for this function:

mrb_value mrb_hash_fetch ( mrb_state mrb,
mrb_value  hash,
mrb_value  key,
mrb_value  def 
)

Definition at line 120 of file hash.c.

Here is the call graph for this function:

mrb_value mrb_hash_get ( mrb_state mrb,
mrb_value  hash,
mrb_value  key 
)

Definition at line 101 of file hash.c.

Here is the call graph for this function:

Here is the caller graph for this function:

mrb_value mrb_hash_keys ( mrb_state mrb,
mrb_value  hash 
)

Definition at line 868 of file hash.c.

Here is the call graph for this function:

Here is the caller graph for this function:

mrb_value mrb_hash_new ( mrb_state mrb)

Definition at line 95 of file hash.c.

Here is the call graph for this function:

Here is the caller graph for this function:

mrb_value mrb_hash_new_capa ( mrb_state mrb,
int  capa 
)

Definition at line 81 of file hash.c.

Here is the call graph for this function:

Here is the caller graph for this function:

mrb_value mrb_hash_rassoc ( mrb_state mrb,
mrb_value  hash 
)

Definition at line 1179 of file hash.c.

Here is the call graph for this function:

void mrb_hash_set ( mrb_state mrb,
mrb_value  hash,
mrb_value  key,
mrb_value  val 
)

Definition at line 136 of file hash.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void mrb_init_hash ( mrb_state mrb)

Definition at line 1223 of file hash.c.

Here is the call graph for this function:

Here is the caller graph for this function: