diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-18 08:56:11 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-18 08:56:11 +0000 |
commit | 8a9993dfee20296431ac49ec48860c89160835c1 () | |
tree | 261091404f764fc0a2ac423aa322f44b0cb90b2e | |
parent | 3a4bfbad0976c60dd557dcdb64b390d055e6446b (diff) |
* eval_intern.h, insnhelper.h, thread_pthread.h, vm_core.h, vm_opts.h:
prefixed include guards with RUBY. * id.h: added include guard. * regenc.h, regint.h, regparse.h: prefixed include guards with ONIGURUMA. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | eval_intern.h | 6 | ||||
-rw-r--r-- | id.h | 5 | ||||
-rw-r--r-- | insnhelper.h | 6 | ||||
-rw-r--r-- | regenc.h | 6 | ||||
-rw-r--r-- | regint.h | 6 | ||||
-rw-r--r-- | regparse.h | 6 | ||||
-rw-r--r-- | thread_pthread.h | 6 | ||||
-rw-r--r-- | vm_core.h | 6 | ||||
-rw-r--r-- | vm_opts.h | 7 |
10 files changed, 38 insertions, 26 deletions
@@ -1,3 +1,13 @@ Fri Jan 18 15:57:05 2008 Nobuyoshi Nakada <[email protected]> * thread.c (thread_cleanup_func): ignore errors from destroying mutex @@ -1,6 +1,6 @@ -#ifndef EVAL_INTERN_H_INCLUDED -#define EVAL_INTERN_H_INCLUDED #define PASS_PASSED_BLOCK() \ (GET_THREAD()->passed_block = \ @@ -243,4 +243,4 @@ VALUE rb_vm_top_self(); #define ruby_cbase() vm_get_cbase(GET_THREAD()) -#endif /* EVAL_INTERN_H_INCLUDED */ @@ -9,6 +9,9 @@ **********************************************************************/ extern VALUE symIFUNC; extern VALUE symCFUNC; @@ -48,4 +51,4 @@ extern ID idAnswer; extern ID idSend; extern ID id__send__; - @@ -9,8 +9,8 @@ **********************************************************************/ -#ifndef _INSNHELPER_H_INCLUDED_ -#define _INSNHELPER_H_INCLUDED_ #include "ruby/ruby.h" #include "ruby/node.h" @@ -145,4 +145,4 @@ CALL_METHOD(num, 0, 0, id, rb_method_node(klass, id), recv, CLASS_OF(recv)); \ } while (0) -#endif /* _INSNHELPER_H_INCLUDED_ */ @@ -1,5 +1,5 @@ -#ifndef REGENC_H -#define REGENC_H /********************************************************************** regenc.h - Oniguruma (regular expression library) **********************************************************************/ @@ -204,4 +204,4 @@ extern int ONIG_ENC_REGISTER(const char *, OnigEncodingType*); #define ENC_ALIAS(name, orig) #define ENC_DUMMY(name) -#endif /* REGENC_H */ @@ -1,5 +1,5 @@ -#ifndef REGINT_H -#define REGINT_H /********************************************************************** regint.h - Oniguruma (regular expression library) **********************************************************************/ @@ -841,4 +841,4 @@ typedef int (*ONIGENC_INIT_PROPERTY_LIST_FUNC_TYPE)(void); extern int onigenc_property_list_init P_((ONIGENC_INIT_PROPERTY_LIST_FUNC_TYPE)); -#endif /* REGINT_H */ @@ -1,5 +1,5 @@ -#ifndef REGPARSE_H -#define REGPARSE_H /********************************************************************** regparse.h - Oniguruma (regular expression library) **********************************************************************/ @@ -348,4 +348,4 @@ extern int onig_print_names(FILE*, regex_t*); #endif #endif -#endif /* REGPARSE_H */ @@ -8,8 +8,8 @@ **********************************************************************/ -#ifndef THREAD_PTHREAD_H_INCLUDED -#define THREAD_PTHREAD_H_INCLUDED #include <pthread.h> typedef pthread_t rb_thread_id_t; @@ -21,4 +21,4 @@ typedef struct native_thread_data_struct { pthread_cond_t sleep_cond; } native_thread_data_t; -#endif /* THREAD_PTHREAD_H_INCLUDED */ @@ -9,8 +9,8 @@ **********************************************************************/ -#ifndef RUBY_CORE_H -#define RUBY_CORE_H #define RUBY_VM_THREAD_MODEL 2 @@ -677,4 +677,4 @@ exec_event_hooks(rb_event_hook_t *hook, rb_event_flag_t flag, VALUE self, ID id, } \ } while (0) -#endif /* RUBY_CORE_H */ @@ -10,8 +10,8 @@ **********************************************************************/ -#ifndef VM_OPTS_H_INCLUDED -#define VM_OPTS_H_INCLUDED /* Compile options. * You can change these options at runtime by VM::CompileOption. @@ -47,5 +47,4 @@ /* misc */ #define SUPPORT_JOKE 0 -#endif /* VM_OPTS_H_INCLUDED */ - |