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

Go to the source code of this file.

Macros

#define MakeID2(p, t)   (((intptr_t)(p))^(t))
#define MakeID(p)   MakeID2(p,tt)

Functions

struct RDatamrb_data_object_alloc (mrb_state *mrb, struct RClass *klass, void *ptr, const mrb_data_type *type)
void mrb_data_check_type (mrb_state *mrb, mrb_value obj, const mrb_data_type *type)
void * mrb_data_check_get_ptr (mrb_state *mrb, mrb_value obj, const mrb_data_type *type)
void * mrb_data_get_ptr (mrb_state *mrb, mrb_value obj, const mrb_data_type *type)
mrb_value mrb_lastline_get (mrb_state *mrb)
mrb_value mrb_exec_recursive (mrb_state *mrb, mrb_value(*func)(mrb_state *, mrb_value, mrb_value, int), mrb_value obj, void *arg)
mrb_sym mrb_obj_to_sym (mrb_state *mrb, mrb_value name)
mrb_value mrb_block_proc (void)
mrb_int mrb_obj_id (mrb_value obj)

Macro Definition Documentation

#define MakeID (   p)    MakeID2(p,tt)
#define MakeID2 (   p,
 
)    (((intptr_t)(p))^(t))

Function Documentation

mrb_value mrb_block_proc ( void  )

Definition at line 127 of file etc.c.

void* mrb_data_check_get_ptr ( mrb_state mrb,
mrb_value  obj,
const mrb_data_type type 
)

Definition at line 49 of file etc.c.

void mrb_data_check_type ( mrb_state mrb,
mrb_value  obj,
const mrb_data_type type 
)

Definition at line 27 of file etc.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void* mrb_data_get_ptr ( mrb_state mrb,
mrb_value  obj,
const mrb_data_type type 
)

Definition at line 61 of file etc.c.

Here is the call graph for this function:

struct RData* mrb_data_object_alloc ( mrb_state mrb,
struct RClass klass,
void *  ptr,
const mrb_data_type type 
)
read

Definition at line 15 of file etc.c.

Here is the call graph for this function:

mrb_value mrb_exec_recursive ( mrb_state mrb,
mrb_value(*)(mrb_state *, mrb_value, mrb_value, int)  func,
mrb_value  obj,
void *  arg 
)

Definition at line 90 of file etc.c.

mrb_value mrb_lastline_get ( mrb_state mrb)

Definition at line 68 of file etc.c.

Here is the call graph for this function:

mrb_int mrb_obj_id ( mrb_value  obj)

Definition at line 149 of file etc.c.

Here is the caller graph for this function:

mrb_sym mrb_obj_to_sym ( mrb_state mrb,
mrb_value  name 
)

Definition at line 96 of file etc.c.

Here is the call graph for this function:

Here is the caller graph for this function: