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

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers load.h Source File

load.h

Go to the documentation of this file.
00001 /*! @file
00002   @brief
00003   mruby bytecode loader.
00004 
00005   <pre>
00006   Copyright (C) 2015 Kyushu Institute of Technology.
00007   Copyright (C) 2015 Shimane IT Open-Innovation Center.
00008 
00009   This file is distributed under BSD 3-Clause License.
00010 
00011   </pre>
00012 */
00013 
00014 #ifndef MRBC_SRC_LOAD_H_
00015 #define MRBC_SRC_LOAD_H_
00016 
00017 #include <stdint.h>
00018 
00019 #ifdef __cplusplus
00020 extern "C" {
00021 #endif
00022 
00023 
00024 int loca_mrb_array (struct VM *vm, const uint8_t *ptr);
00025 int load_mrb(struct VM *vm);
00026 
00027 
00028 #ifdef __cplusplus
00029 }
00030 #endif
00031 #endif
00032