Skip to content

Commit

Permalink
document mrb_nil_value
Browse files Browse the repository at this point in the history
  • Loading branch information
sagmor committed Sep 21, 2015
1 parent 0e5b815 commit 88f9770
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions include/mruby/value.h
Expand Up @@ -176,8 +176,14 @@ mrb_obj_value(void *p)
return v;
}

static inline mrb_value
mrb_nil_value(void)

/**
* Get a nil mrb_value object.
*
* @return
* nil mrb_value object reference.
*/
MRB_INLINE mrb_value mrb_nil_value(void)
{
mrb_value v;
SET_NIL_VALUE(v);
Expand Down

0 comments on commit 88f9770

Please sign in to comment.