This is a port of the mruby/c tutorial Chapter 03 to the mbed environment.

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

load.h File Reference

load.h File Reference

mruby bytecode loader. More...

Go to the source code of this file.

Functions

int loca_mrb_array (struct VM *vm, const uint8_t *ptr)
int load_mrb (struct VM *vm)
 Setup mrb program.

Detailed Description

mruby bytecode loader.

  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 load.h.


Function Documentation

int load_mrb ( struct VM *  vm )

Setup mrb program.

Parameters:
vmA pointer of VM.
Returns:
int zero if no error.

Definition at line 245 of file load.c.

int loca_mrb_array ( struct VM *  vm,
const uint8_t *  ptr 
)
Parameters:
vmA pointer of VM.
ptrA pointer of RITE (.mrb) code.

Definition at line 277 of file load.c.