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 symbol.h Source File

symbol.h

Go to the documentation of this file.
00001 /*! @file
00002   @brief
00003   Symbol
00004 
00005   <pre>
00006   Copyright (C) 2015-2016 Kyushu Institute of Technology.
00007   Copyright (C) 2015-2016 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_SYMBOL_H_
00015 #define MRBC_SRC_SYMBOL_H_
00016 
00017 #include "value.h "
00018 
00019 #ifdef __cplusplus
00020 extern "C" {
00021 #endif
00022 
00023 mrb_sym add_sym (const char *str);
00024 mrb_sym str_to_symid (const char *str);
00025 const char* symid_to_str (mrb_sym sym_id);
00026 
00027 
00028 #ifdef __cplusplus
00029 }
00030 #endif
00031 #endif
00032