diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/array.c | 6 | ||||
| -rw-r--r-- | src/cdump.c | 6 | ||||
| -rw-r--r-- | src/cdump.h | 6 | ||||
| -rw-r--r-- | src/class.c | 6 | ||||
| -rw-r--r-- | src/codegen.c | 6 | ||||
| -rw-r--r-- | src/compar.c | 6 | ||||
| -rw-r--r-- | src/compile.h | 6 | ||||
| -rw-r--r-- | src/crc.c | 6 | ||||
| -rw-r--r-- | src/dump.c | 6 | ||||
| -rw-r--r-- | src/dump.h | 6 | ||||
| -rw-r--r-- | src/encoding.c | 15 | ||||
| -rw-r--r-- | src/encoding.h | 15 | ||||
| -rw-r--r-- | src/enum.c | 15 | ||||
| -rw-r--r-- | src/error.c | 6 | ||||
| -rw-r--r-- | src/error.h | 6 | ||||
| -rw-r--r-- | src/etc.c | 6 | ||||
| -rw-r--r-- | src/eval_intern.h | 6 | ||||
| -rw-r--r-- | src/gc.c | 6 | ||||
| -rw-r--r-- | src/gc.h | 6 | ||||
| -rw-r--r-- | src/hash.c | 17 | ||||
| -rw-r--r-- | src/init.c | 6 | ||||
| -rw-r--r-- | src/init_ext.c | 6 | ||||
| -rw-r--r-- | src/irep.h | 6 | ||||
| -rw-r--r-- | src/kernel.c | 6 | ||||
| -rw-r--r-- | src/load.c | 6 | ||||
| -rw-r--r-- | src/method.h | 14 | ||||
| -rw-r--r-- | src/minimain.c | 6 | ||||
| -rw-r--r-- | src/node.h | 6 | ||||
| -rw-r--r-- | src/numeric.c | 15 | ||||
| -rw-r--r-- | src/object.c | 6 | ||||
| -rw-r--r-- | src/opcode.h | 6 | ||||
| -rw-r--r-- | src/parse.y | 6 | ||||
| -rw-r--r-- | src/pool.c | 6 | ||||
| -rw-r--r-- | src/pool.h | 6 | ||||
| -rw-r--r-- | src/print.c | 6 | ||||
| -rw-r--r-- | src/proc.c | 6 | ||||
| -rw-r--r-- | src/range.c | 6 | ||||
| -rw-r--r-- | src/re.c | 7 | ||||
| -rw-r--r-- | src/re.h | 10 | ||||
| -rw-r--r-- | src/regex.h | 14 | ||||
| -rw-r--r-- | src/ritehash.h | 9 | ||||
| -rw-r--r-- | src/sprintf.c | 17 | ||||
| -rw-r--r-- | src/state.c | 6 | ||||
| -rw-r--r-- | src/string.c | 6 | ||||
| -rw-r--r-- | src/struct.c | 15 | ||||
| -rw-r--r-- | src/symbol.c | 6 | ||||
| -rw-r--r-- | src/variable.c | 6 | ||||
| -rw-r--r-- | src/variable.h | 6 | ||||
| -rw-r--r-- | src/version.c | 16 | ||||
| -rw-r--r-- | src/version.h | 6 | ||||
| -rw-r--r-- | src/vm.c | 6 | ||||
| -rw-r--r-- | src/vm_core.h | 15 |
52 files changed, 299 insertions, 123 deletions
diff --git a/src/array.c b/src/array.c index 69f5fd8b3..035feead5 100644 --- a/src/array.c +++ b/src/array.c @@ -1,3 +1,9 @@ +/* +** array.c - Array class +** +** See Copyright Notice in mruby.h +*/ + #include "mruby.h" #include "mruby/array.h" #include <string.h> diff --git a/src/cdump.c b/src/cdump.c index 74365b090..400f446ef 100644 --- a/src/cdump.c +++ b/src/cdump.c @@ -1,3 +1,9 @@ +/* +** cdump.c - mruby binary dumper (C source format) +** +** See Copyright Notice in mruby.h +*/ + #include "cdump.h" #include <string.h> diff --git a/src/cdump.h b/src/cdump.h index 82fc442a6..f74d7a046 100644 --- a/src/cdump.h +++ b/src/cdump.h @@ -1,3 +1,9 @@ +/* +** cdump.h - mruby binary dumper (C source format) +** +** See Copyright Notice in mruby.h +*/ + #include "mruby.h" #include <stdio.h> diff --git a/src/class.c b/src/class.c index 9abd90c31..e3fe0933a 100644 --- a/src/class.c +++ b/src/class.c @@ -1,3 +1,9 @@ +/* +** class.c - Class class +** +** See Copyright Notice in mruby.h +*/ + #include "mruby.h" #include <stdarg.h> #include <stdio.h> diff --git a/src/codegen.c b/src/codegen.c index c44e619e9..582008a69 100644 --- a/src/codegen.c +++ b/src/codegen.c @@ -1,3 +1,9 @@ +/* +** codegen.c - mruby code generator +** +** See Copyright Notice in mruby.h +*/ + #undef CODEGEN_TEST #define CODEGEN_DUMP diff --git a/src/compar.c b/src/compar.c index d66525c15..5fef89329 100644 --- a/src/compar.c +++ b/src/compar.c @@ -1,3 +1,9 @@ +/* +** compar.c - Comparable module +** +** See Copyright Notice in mruby.h +*/ + #include "mruby.h" #include "mruby/string.h" #include "mruby/numeric.h" diff --git a/src/compile.h b/src/compile.h index f0e6b1874..49c8e9cf8 100644 --- a/src/compile.h +++ b/src/compile.h @@ -1,3 +1,9 @@ +/* +** compile.h - mruby parser +** +** See Copyright Notice in mruby.h +*/ + #include "mruby.h" #include <stdio.h> #include <setjmp.h> @@ -1,3 +1,9 @@ +/* +** crc.c - calculate CRC +** +** See Copyright Notice in mruby.h +*/ + #include <limits.h> #include <stdint.h> // Calculate CRC (CRC-16-CCITT) diff --git a/src/dump.c b/src/dump.c index ba2a9ab7a..a6ba1350a 100644 --- a/src/dump.c +++ b/src/dump.c @@ -1,3 +1,9 @@ +/* +** dump.c - mruby binary dumper (Rite binary format) +** +** See Copyright Notice in mruby.h +*/ + #include <string.h> #include "dump.h" diff --git a/src/dump.h b/src/dump.h index 410dfcd71..1f211aa0b 100644 --- a/src/dump.h +++ b/src/dump.h @@ -1,3 +1,9 @@ +/* +** dump.h - mruby binary dumper (Rite binary format) +** +** See Copyright Notice in mruby.h +*/ + #include "mruby.h" #include <stdio.h> #include <stdint.h> diff --git a/src/encoding.c b/src/encoding.c index db9a36425..2df294e20 100644 --- a/src/encoding.c +++ b/src/encoding.c @@ -1,13 +1,8 @@ -/********************************************************************** - - encoding.c - - - $Author: naruse $ - created at: Thu May 24 17:23:27 JST 2007 - - Copyright (C) 2007 Yukihiro Matsumoto - -**********************************************************************/ +/* +** encoding.c - Encoding class +** +** See Copyright Notice in mruby.h +*/ #include "mruby.h" #ifdef INCLUDE_ENCODING diff --git a/src/encoding.h b/src/encoding.h index 92e16e5f2..bc4a7ccc2 100644 --- a/src/encoding.h +++ b/src/encoding.h @@ -1,13 +1,8 @@ -/********************************************************************** - - encoding.h - - - $Author: matz $ - created at: Thu May 24 11:49:41 JST 2007 - - Copyright (C) 2007 Yukihiro Matsumoto - -**********************************************************************/ +/* +** encoding.h - Encoding class +** +** See Copyright Notice in mruby.h +*/ #ifndef RUBY_ENCODING_H #define RUBY_ENCODING_H 1 diff --git a/src/enum.c b/src/enum.c index c9bb43139..a2b034d41 100644 --- a/src/enum.c +++ b/src/enum.c @@ -1,13 +1,8 @@ -/********************************************************************** - - enum.c - - - $Author: yugui $ - created at: Fri Oct 1 15:15:19 JST 1993 - - Copyright (C) 1993-2007 Yukihiro Matsumoto - -**********************************************************************/ +/* +** enum.c - Enumerable module +** +** See Copyright Notice in mruby.h +*/ #include "mruby.h" diff --git a/src/error.c b/src/error.c index a671c6bbd..990a8f9ba 100644 --- a/src/error.c +++ b/src/error.c @@ -1,3 +1,9 @@ +/* +** error.c - Exception class +** +** See Copyright Notice in mruby.h +*/ + #include "mruby.h" #include <stdarg.h> #include <string.h> diff --git a/src/error.h b/src/error.h index 5b1873b1d..42fb635c5 100644 --- a/src/error.h +++ b/src/error.h @@ -1,3 +1,9 @@ +/* +** error.h - Exception class +** +** See Copyright Notice in mruby.h +*/ + #ifndef MRUBY_ERROR_H #define MRUBY_ERROR_H @@ -1,3 +1,9 @@ +/* +** etc.c - +** +** See Copyright Notice in mruby.h +*/ + #include "mruby.h" #include "mruby/string.h" #include "error.h" diff --git a/src/eval_intern.h b/src/eval_intern.h index c3e8cdf50..3179f50b2 100644 --- a/src/eval_intern.h +++ b/src/eval_intern.h @@ -1,3 +1,9 @@ +/* +** eval_intern.h - +** +** See Copyright Notice in mruby.h +*/ + #ifndef RUBY_EVAL_INTERN_H #define RUBY_EVAL_INTERN_H @@ -1,3 +1,9 @@ +/* +** gc.c - garbage collector for RiteVM +** +** See Copyright Notice in mruby.h +*/ + #include "mruby.h" #include "mruby/object.h" #include "mruby/class.h" @@ -1,3 +1,9 @@ +/* +** gc.h - garbage collector for RiteVM +** +** See Copyright Notice in mruby.h +*/ + #ifndef MRUBY_GC_H #define MRUBY_GC_H diff --git a/src/hash.c b/src/hash.c index 3f336f425..e96c2e210 100644 --- a/src/hash.c +++ b/src/hash.c @@ -1,15 +1,8 @@ -/********************************************************************** - - hash.c - - - $Author: yugui $ - created at: Mon Nov 22 18:51:18 JST 1993 - - Copyright (C) 1993-2007 Yukihiro Matsumoto - Copyright (C) 2000 Network Applied Communication Laboratory, Inc. - Copyright (C) 2000 Information-technology Promotion Agency, Japan - -**********************************************************************/ +/* +** hash.c - Hash class +** +** See Copyright Notice in mruby.h +*/ #include "mruby.h" #include "mruby/hash.h" diff --git a/src/init.c b/src/init.c index ce039ce30..869201eea 100644 --- a/src/init.c +++ b/src/init.c @@ -1,3 +1,9 @@ +/* +** init.c - initialize mruby core +** +** See Copyright Notice in mruby.h +*/ + #include "mruby.h" void mrb_init_class(mrb_state*); diff --git a/src/init_ext.c b/src/init_ext.c index cb094f171..0643bd4fd 100644 --- a/src/init_ext.c +++ b/src/init_ext.c @@ -1,3 +1,9 @@ +/* +** init_ext.c - initialize extend libraries +** +** See Copyright Notice in mruby.h +*/ + #include "mruby.h" void diff --git a/src/irep.h b/src/irep.h index d73931a90..b3f9e8d87 100644 --- a/src/irep.h +++ b/src/irep.h @@ -1,3 +1,9 @@ +/* +** irep.h - mrb_irep structure +** +** See Copyright Notice in mruby.h +*/ + #ifndef MRUBY_IREP_H #define MRUBY_IREP_H diff --git a/src/kernel.c b/src/kernel.c index 7a4a13501..dbc17940e 100644 --- a/src/kernel.c +++ b/src/kernel.c @@ -1,3 +1,9 @@ +/* +** kernel.c - Kernel module +** +** See Copyright Notice in mruby.h +*/ + #include "mruby.h" #include "mruby/string.h" #include <string.h> diff --git a/src/load.c b/src/load.c index 3f5dc2c57..7a8178621 100644 --- a/src/load.c +++ b/src/load.c @@ -1,3 +1,9 @@ +/* +** load.c - mruby binary loader +** +** See Copyright Notice in mruby.h +*/ + #include <string.h> #include "dump.h" diff --git a/src/method.h b/src/method.h index 3591917a2..0856ffa8b 100644 --- a/src/method.h +++ b/src/method.h @@ -1,13 +1,9 @@ -/********************************************************************** +/* +** method.h - method structures and functions +** +** See Copyright Notice in mruby.h +*/ - method.h - - - $Author: ko1 $ - created at: Wed Jul 15 20:02:33 2009 - - Copyright (C) 2009 Koichi Sasada - -**********************************************************************/ #ifndef METHOD_H #define METHOD_H diff --git a/src/minimain.c b/src/minimain.c index b1b70c2af..3ba5bb0b3 100644 --- a/src/minimain.c +++ b/src/minimain.c @@ -1,3 +1,9 @@ +/* +** minimain.c - +** +** See Copyright Notice in mruby.h +*/ + #include "mruby.h" #include "mruby/proc.h" diff --git a/src/node.h b/src/node.h index a6e3d58fe..74af5f1e9 100644 --- a/src/node.h +++ b/src/node.h @@ -1,3 +1,9 @@ +/* +** node.h - nodes of abstract syntax tree +** +** See Copyright Notice in mruby.h +*/ + enum node_type { NODE_METHOD, NODE_FBODY, diff --git a/src/numeric.c b/src/numeric.c index f79369d90..d30e683fd 100644 --- a/src/numeric.c +++ b/src/numeric.c @@ -1,13 +1,8 @@ -/********************************************************************** - - numeric.c - - - $Author: yugui $ - created at: Fri Aug 13 18:33:09 JST 1993 - - Copyright (C) 1993-2007 Yukihiro Matsumoto - -**********************************************************************/ +/* +** numeric.c - Numeric, Integer, Float, Fixnum class +** +** See Copyright Notice in mruby.h +*/ #include "mruby.h" #include "mruby/numeric.h" diff --git a/src/object.c b/src/object.c index 0a31fa108..ee3caedbf 100644 --- a/src/object.c +++ b/src/object.c @@ -1,3 +1,9 @@ +/* +** object.c - Object, NilClass, TrueClass, FalseClass class +** +** See Copyright Notice in mruby.h +*/ + #include "mruby.h" #include <string.h> #include "mruby/string.h" diff --git a/src/opcode.h b/src/opcode.h index e6ea74f79..9cf261ce8 100644 --- a/src/opcode.h +++ b/src/opcode.h @@ -1,3 +1,9 @@ +/* +** opcode.h - RiteVM operation codes +** +** See Copyright Notice in mruby.h +*/ + #ifndef OPCODE_H #define OPCODE_H diff --git a/src/parse.y b/src/parse.y index b22dd10f6..ef49338ac 100644 --- a/src/parse.y +++ b/src/parse.y @@ -1,3 +1,9 @@ +/* +** parse.y - mruby parser +** +** See Copyright Notice in mruby.h +*/ + %{ #undef PARSER_TEST #undef PARSER_DEBUG diff --git a/src/pool.c b/src/pool.c index 1a2bec642..9461ecf60 100644 --- a/src/pool.c +++ b/src/pool.c @@ -1,3 +1,9 @@ +/* +** pool.c - memory pool +** +** See Copyright Notice in mruby.h +*/ + #include "pool.h" #include <string.h> diff --git a/src/pool.h b/src/pool.h index 4f0b906a5..7b0ae78cb 100644 --- a/src/pool.h +++ b/src/pool.h @@ -1,3 +1,9 @@ +/* +** pool.h - memory pool +** +** See Copyright Notice in mruby.h +*/ + #include "mruby.h" #include <stddef.h> diff --git a/src/print.c b/src/print.c index a3e05b6f0..5de0fc721 100644 --- a/src/print.c +++ b/src/print.c @@ -1,3 +1,9 @@ +/* +** print.c - Kernel.#p +** +** See Copyright Notice in mruby.h +*/ + #include "mruby.h" #include "mruby/string.h" #include <stdio.h> diff --git a/src/proc.c b/src/proc.c index aae9b1932..94a8d8465 100644 --- a/src/proc.c +++ b/src/proc.c @@ -1,3 +1,9 @@ +/* +** proc.c - Proc class +** +** See Copyright Notice in mruby.h +*/ + #include "mruby.h" #include "mruby/proc.h" #include "mruby/array.h" diff --git a/src/range.c b/src/range.c index bc85f1f62..f8e927f04 100644 --- a/src/range.c +++ b/src/range.c @@ -1,3 +1,9 @@ +/* +** range.c - Range class +** +** See Copyright Notice in mruby.h +*/ + #include "mruby.h" #include "mruby/class.h" #include "mruby/range.h" @@ -1,4 +1,9 @@ -/* re.c for RegExp Class */ +/* +** re.c - Regexp class +** +** See Copyright Notice in mruby.h +*/ + #include "mruby.h" #include <string.h> #include "mruby/string.h" @@ -1,8 +1,8 @@ -/********************************************************************** - - re.h - - -**********************************************************************/ +/* +** re.h - Regexp class +** +** See Copyright Notice in mruby.h +*/ #ifndef RE_H #define RE_H diff --git a/src/regex.h b/src/regex.h index b5472122a..0669e6f70 100644 --- a/src/regex.h +++ b/src/regex.h @@ -1,12 +1,8 @@ -/********************************************************************** - - regex.h - - - $Author: akr $ - - Copyright (C) 1993-2007 Yukihiro Matsumoto - -**********************************************************************/ +/* +** regex.h - Regexp class +** +** See Copyright Notice in mruby.h +*/ #ifndef ONIGURUMA_REGEX_H #define ONIGURUMA_REGEX_H 1 diff --git a/src/ritehash.h b/src/ritehash.h index 48feb9656..a17db425a 100644 --- a/src/ritehash.h +++ b/src/ritehash.h @@ -1,8 +1,9 @@ /* - * Rite Hash - * - * - */ +** ritehash.c - Rite Hash for mruby +** +** See Copyright Notice in mruby.h +*/ + #include <stdint.h> #include <stdlib.h> #include <string.h> diff --git a/src/sprintf.c b/src/sprintf.c index 06e6b33d7..4036e44db 100644 --- a/src/sprintf.c +++ b/src/sprintf.c @@ -1,15 +1,8 @@ -/********************************************************************** - - sprintf.c - - - $Author: yugui $ - created at: Fri Oct 15 10:39:26 JST 1993 - - Copyright (C) 1993-2007 Yukihiro Matsumoto - Copyright (C) 2000 Network Applied Communication Laboratory, Inc. - Copyright (C) 2000 Information-technology Promotion Agency, Japan - -**********************************************************************/ +/* +** sprintf.c - Kernel.#sprintf +** +** See Copyright Notice in mruby.h +*/ #include "mruby.h" #include <stdio.h> diff --git a/src/state.c b/src/state.c index 14efed986..913c186e4 100644 --- a/src/state.c +++ b/src/state.c @@ -1,3 +1,9 @@ +/* +** state.c - RiteVM open/close functions +** +** See Copyright Notice in mruby.h +*/ + #include "mruby.h" #include "irep.h" #include <string.h> diff --git a/src/string.c b/src/string.c index da52172f7..b9c8796e6 100644 --- a/src/string.c +++ b/src/string.c @@ -1,3 +1,9 @@ +/* +** string.c - String class +** +** See Copyright Notice in mruby.h +*/ + #include "mruby.h" #include <stdarg.h> diff --git a/src/struct.c b/src/struct.c index 9af6e2ee4..cebbf0bda 100644 --- a/src/struct.c +++ b/src/struct.c @@ -1,13 +1,8 @@ -/********************************************************************** - - struct.c - - - $Author: marcandre $ - created at: Tue Mar 22 18:44:30 JST 1995 - - Copyright (C) 1993-2007 Yukihiro Matsumoto - -**********************************************************************/ +/* +** struct.c - Struct class +** +** See Copyright Notice in mruby.h +*/ #include "mruby.h" #include <string.h> diff --git a/src/symbol.c b/src/symbol.c index ad3400834..2645b7cd4 100644 --- a/src/symbol.c +++ b/src/symbol.c @@ -1,3 +1,9 @@ +/* +** symbol.c - Symbol class +** +** See Copyright Notice in mruby.h +*/ + #include "mruby.h" #include "ritehash.h" #include <string.h> diff --git a/src/variable.c b/src/variable.c index 0bc1f0de1..5c3c493d8 100644 --- a/src/variable.c +++ b/src/variable.c @@ -1,3 +1,9 @@ +/* +** variable.c - mruby variables +** +** See Copyright Notice in mruby.h +*/ + #include "mruby.h" #include "mruby/class.h" #include "ritehash.h" diff --git a/src/variable.h b/src/variable.h index 494099c2c..bd00b2f1f 100644 --- a/src/variable.h +++ b/src/variable.h @@ -1,3 +1,9 @@ +/* +** variable.h - mruby variables +** +** See Copyright Notice in mruby.h +*/ + #ifndef MRUBY_VARIABLE_H #define MRUBY_VARIABLE_H diff --git a/src/version.c b/src/version.c index d69c6941c..f0edc6731 100644 --- a/src/version.c +++ b/src/version.c @@ -1,14 +1,8 @@ -/********************************************************************** - - version.c - - - $Author: knu $ - $Date: 2008-05-31 22:37:06 +0900 (Sat, 31 May 2008) $ - created at: Thu Sep 30 20:08:01 JST 1993 - - Copyright (C) 1993-2003 Yukihiro Matsumoto - -**********************************************************************/ +/* +** version.c - version information +** +** See Copyright Notice in mruby.h +*/ #include "mruby.h" #include "version.h" diff --git a/src/version.h b/src/version.h index e132efdf4..0188acf19 100644 --- a/src/version.h +++ b/src/version.h @@ -1,3 +1,9 @@ +/* +** version.h - version information +** +** See Copyright Notice in mruby.h +*/ + #define RUBY_VERSION "1.8.7" #define RUBY_RELEASE_DATE "2010-08-16" #define RUBY_VERSION_CODE 187 @@ -1,3 +1,9 @@ +/* +** vm.c - virtual machine for mruby (RiteVM) +** +** See Copyright Notice in mruby.h +*/ + #include "mruby.h" #include "opcode.h" #include "irep.h" diff --git a/src/vm_core.h b/src/vm_core.h index 98da043a2..1fadffaee 100644 --- a/src/vm_core.h +++ b/src/vm_core.h @@ -1,13 +1,8 @@ -/********************************************************************** - - vm_core.h - - - $Author: yugui $ - created at: 04/01/01 19:41:38 JST - - Copyright (C) 2004-2007 Koichi Sasada - -**********************************************************************/ +/* +** vm_core.h - RiteVM core +** +** See Copyright Notice in mruby.h +*/ #ifndef RUBY_VM_CORE_H #define RUBY_VM_CORE_H |
