Ruby: include/ruby/version.h File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Macros | Variables
version.h File Reference

Go to the source code of this file.

## Macros
#define | RUBY_AUTHOR "Yukihiro Matsumoto"
#define | RUBY_BIRTH_YEAR 1993
#define | RUBY_BIRTH_MONTH 2
#define | RUBY_BIRTH_DAY 24
#define | RUBY_API_VERSION_MAJOR 3
#define | RUBY_API_VERSION_MINOR 0
#define | RUBY_API_VERSION_TEENY 0
#define | RUBY_API_VERSION_CODE (RUBY_API_VERSION_MAJOR*10000+RUBY_API_VERSION_MINOR*100+RUBY_API_VERSION_TEENY)

## Variables
const int | ruby_api_version [3]
const char | ruby_version []
const char | ruby_release_date []
const char | ruby_platform []
const int | ruby_patchlevel
const char | ruby_description []
const char | ruby_copyright []
const char | ruby_engine []

## Detailed Description

Author
  $Author$

Date
  Wed May 13 12:56:56 JST 2009

Copyright
  Copyright (C) 1993-2009 Yukihiro Matsumoto
  Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
  Copyright (C) 2000 Information-technology Promotion Agency, Japan
  This file is a part of the programming language Ruby. Permission is hereby granted, to either redistribute and/or modify this file, provided that the conditions mentioned in the file COPYING are met. Consult the file for details.

This file contains only

- never-changeable information, and
- interfaces accessible from extension libraries.

Never try to check RUBY_VERSION_CODE etc in extension libraries, check the features with mkmf.rb instead.

Definition in file version.h.

## Macro Definition Documentation

## ◆ RUBY_API_VERSION_CODE

#define RUBY_API_VERSION_CODE (RUBY_API_VERSION_MAJOR*10000+RUBY_API_VERSION_MINOR*100+RUBY_API_VERSION_TEENY)

Definition at line 33 of file version.h.

## ◆ RUBY_API_VERSION_MAJOR

#define RUBY_API_VERSION_MAJOR 3

Definition at line 30 of file version.h.

## ◆ RUBY_API_VERSION_MINOR

#define RUBY_API_VERSION_MINOR 0

Definition at line 31 of file version.h.

## ◆ RUBY_API_VERSION_TEENY

#define RUBY_API_VERSION_TEENY 0

Definition at line 32 of file version.h.

## ◆ RUBY_AUTHOR

#define RUBY_AUTHOR "Yukihiro Matsumoto"

Definition at line 24 of file version.h.

## ◆ RUBY_BIRTH_DAY

#define RUBY_BIRTH_DAY 24

Definition at line 27 of file version.h.

## ◆ RUBY_BIRTH_MONTH

#define RUBY_BIRTH_MONTH 2

Definition at line 26 of file version.h.

## ◆ RUBY_BIRTH_YEAR

#define RUBY_BIRTH_YEAR 1993

Definition at line 25 of file version.h.

## Variable Documentation

## ◆ ruby_api_version

const int ruby_api_version[3]
| extern

Definition at line 26 of file version.c.

## ◆ ruby_copyright

const char ruby_copyright[]
| extern

Definition at line 45 of file version.c.

## ◆ ruby_engine

const char ruby_engine[]
| extern

Definition at line 46 of file version.c.

Referenced by ruby_process_options().

## ◆ ruby_patchlevel

const int ruby_patchlevel
| extern

Definition at line 42 of file version.c.

## ◆ ruby_platform

const char ruby_platform[]
| extern

Definition at line 41 of file version.c.

## ◆ ruby_release_date

const char ruby_release_date[]
| extern

Definition at line 40 of file version.c.

## ◆ ruby_version

const char ruby_version[]
| extern

Definition at line 38 of file version.c.