Sha256: 15db260cb157fee1d7dcc1658e76089e440552ade36e6b946413a432473234d4

Contents?: true

Size: 1.92 KB

Versions: 28

Compression:

Stored size: 1.92 KB

Contents

/*
** mruby/version.h - mruby version definition
**
** See Copyright Notice in mruby.h
*/

#ifndef MRUBY_VERSION_H
#define MRUBY_VERSION_H

#include "common.h"

/**
 * mruby version definition macros
 */
MRB_BEGIN_DECL

/*
 * A passed in expression.
 */
#define MRB_STRINGIZE0(expr) #expr

/*
 * Passes in an expression to MRB_STRINGIZE0.
 */
#define MRB_STRINGIZE(expr) MRB_STRINGIZE0(expr)

/*
 * The version of Ruby used by mruby.
 */
#define MRUBY_RUBY_VERSION "2.0"

/*
 * Ruby engine.
 */
#define MRUBY_RUBY_ENGINE  "mruby"

/*
 * Major release version number.
 */
#define MRUBY_RELEASE_MAJOR 2

/*
 * Minor release version number.
 */
#define MRUBY_RELEASE_MINOR 0

/*
 * Tiny release version number.
 */
#define MRUBY_RELEASE_TEENY 0

/*
 * The mruby version.
 */
#define MRUBY_VERSION MRB_STRINGIZE(MRUBY_RELEASE_MAJOR) "." MRB_STRINGIZE(MRUBY_RELEASE_MINOR) "." MRB_STRINGIZE(MRUBY_RELEASE_TEENY)

/*
 * Release number.
 */
#define MRUBY_RELEASE_NO (MRUBY_RELEASE_MAJOR * 100 * 100 + MRUBY_RELEASE_MINOR * 100 + MRUBY_RELEASE_TEENY)

/*
 * Release year.
 */
#define MRUBY_RELEASE_YEAR 2018

/*
 * Release month.
 */
#define MRUBY_RELEASE_MONTH 12

/*
 * Release day.
 */
#define MRUBY_RELEASE_DAY 11

/*
 * Release date as a string.
 */
#define MRUBY_RELEASE_DATE MRB_STRINGIZE(MRUBY_RELEASE_YEAR) "-" MRB_STRINGIZE(MRUBY_RELEASE_MONTH) "-" MRB_STRINGIZE(MRUBY_RELEASE_DAY)

/*
 * The year mruby was first created.
 */
#define MRUBY_BIRTH_YEAR 2010

/*
 * MRuby's authors.
 */
#define MRUBY_AUTHOR "mruby developers"

/*
 * mruby's version, and release date.
 */
#define MRUBY_DESCRIPTION      \
  "mruby " MRUBY_VERSION       \
  " (" MRUBY_RELEASE_DATE ") " \

/*
 * mruby's copyright information.
 */
#define MRUBY_COPYRIGHT                \
  "mruby - Copyright (c) "             \
  MRB_STRINGIZE(MRUBY_BIRTH_YEAR)"-"   \
  MRB_STRINGIZE(MRUBY_RELEASE_YEAR)" " \
  MRUBY_AUTHOR                         \

MRB_END_DECL

#endif  /* MRUBY_VERSION_H */

Version data entries

28 entries across 14 versions & 2 rubygems

Version Path
ruby2d-0.12.1 assets/xcode/tvos/MRuby.framework/Headers/mruby/version.h
ruby2d-0.12.1 assets/xcode/ios/MRuby.framework/Headers/mruby/version.h
ruby2d-0.12.0 assets/xcode/tvos/MRuby.framework/Headers/mruby/version.h
ruby2d-0.12.0 assets/xcode/ios/MRuby.framework/Headers/mruby/version.h
ruby2d-0.11.3 assets/xcode/ios/MRuby.framework/Headers/mruby/version.h
ruby2d-0.11.3 assets/xcode/tvos/MRuby.framework/Headers/mruby/version.h
ruby2d-0.11.2 assets/xcode/tvos/MRuby.framework/Headers/mruby/version.h
ruby2d-0.11.2 assets/xcode/ios/MRuby.framework/Headers/mruby/version.h
ruby2d-rpeck-windows-0.11.1 assets/tvos/MRuby.framework/Headers/mruby/version.h
ruby2d-rpeck-windows-0.11.1 assets/ios/MRuby.framework/Headers/mruby/version.h
ruby2d-0.11.1 assets/tvos/MRuby.framework/Headers/mruby/version.h
ruby2d-0.11.1 assets/ios/MRuby.framework/Headers/mruby/version.h
ruby2d-0.11.0 assets/tvos/MRuby.framework/Headers/mruby/version.h
ruby2d-0.11.0 assets/ios/MRuby.framework/Headers/mruby/version.h
ruby2d-0.10.0 assets/ios/MRuby.framework/Headers/mruby/version.h
ruby2d-0.10.0 assets/tvos/MRuby.framework/Headers/mruby/version.h
ruby2d-0.9.5 assets/ios/MRuby.framework/Headers/mruby/version.h
ruby2d-0.9.5 assets/tvos/MRuby.framework/Headers/mruby/version.h
ruby2d-0.9.4 assets/tvos/MRuby.framework/Headers/mruby/version.h
ruby2d-0.9.4 assets/ios/MRuby.framework/Headers/mruby/version.h