mruby/c VM Source Code release 3.4
Loading...
Searching...
No Matches
c_proc.c File Reference

mruby/c Proc class More...

#include "mrubyc.h"
#include "_autogen_class_proc.h"
Include dependency graph for c_proc.c:

Go to the source code of this file.

Functions

mrbc_value mrbc_proc_new (struct VM *vm, void *irep, uint8_t b_or_m)
void mrbc_proc_delete (mrbc_value *val)

Detailed Description

mruby/c Proc class

Copyright (C) 2015- Kyushu Institute of Technology.
Copyright (C) 2015- Shimane IT Open-Innovation Center.

This file is distributed under BSD 3-Clause License.

Definition in file c_proc.c.

Function Documentation

◆ mrbc_proc_delete()

void mrbc_proc_delete ( mrbc_value * val)

proc destructor

Parameters
valpointer to target value

Definition at line 73 of file c_proc.c.

Here is the call graph for this function:

◆ mrbc_proc_new()

mrbc_value mrbc_proc_new ( struct VM * vm,
void * irep,
uint8_t b_or_m )

proc constructor

Parameters
vmPointer to VM.
irepPointer to IREP.
b_or_mblock or method flag.
Returns
mrbc_value of Proc object.

Definition at line 42 of file c_proc.c.

Here is the call graph for this function:
Here is the caller graph for this function: