rm whitespace

This commit is contained in:
roco
2012-04-30 14:29:19 -07:00
parent 6b739d9173
commit 4ec6d41f16
78 changed files with 19430 additions and 19430 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
/*
** array.h - Array class
**
**
** See Copyright Notice in mruby.h
*/
@@ -45,4 +45,4 @@ mrb_value mrb_ary_tmp_new(mrb_state *mrb, long capa);
mrb_value mrb_ary_sort(mrb_state *mrb, mrb_value ary);
mrb_value mrb_ary_shift(mrb_state *mrb, mrb_value self);
#endif /* MRUBY_ARRAY_H */
#endif /* MRUBY_ARRAY_H */
+1 -1
View File
@@ -1,6 +1,6 @@
/*
** cdump.h - mruby binary dumper (C source format)
**
**
** See Copyright Notice in mruby.h
*/
+2 -2
View File
@@ -1,6 +1,6 @@
/*
** class.h - Class class
**
**
** See Copyright Notice in mruby.h
*/
@@ -74,4 +74,4 @@ void mrb_define_method_id(mrb_state *mrb, struct RClass *c, mrb_sym mid, mrb_fun
void mrb_obj_call_init(mrb_state *mrb, mrb_value obj, int argc, mrb_value *argv);
#endif /* MRUBY_CLASS_H */
#endif /* MRUBY_CLASS_H */
+2 -2
View File
@@ -1,6 +1,6 @@
/*
** data.h - Data class
**
**
** See Copyright Notice in mruby.h
*/
@@ -13,7 +13,7 @@ extern "C" {
struct mrb_data_type {
const char *struct_name;
const char *struct_name;
void (*dfree)(mrb_state *mrb, void*);
};
+1 -1
View File
@@ -1,6 +1,6 @@
/*
** dump.h - mruby binary dumper (Rite binary format)
**
**
** See Copyright Notice in mruby.h
*/
+4 -4
View File
@@ -1,6 +1,6 @@
/*
** hash.h - Hash class
**
**
** See Copyright Notice in mruby.h
*/
@@ -15,9 +15,9 @@ struct RHash {
#define N 624
#define M 397
#define MATRIX_A 0x9908b0dfU /* constant vector a */
#define UMASK 0x80000000U /* most significant w-r bits */
#define LMASK 0x7fffffffU /* least significant r bits */
#define MATRIX_A 0x9908b0dfU /* constant vector a */
#define UMASK 0x80000000U /* most significant w-r bits */
#define LMASK 0x7fffffffU /* least significant r bits */
#define MIXBITS(u,v) ( ((u) & UMASK) | ((v) & LMASK) )
#define TWIST(u,v) ((MIXBITS(u,v) >> 1) ^ ((v)&1U ? MATRIX_A : 0U))
enum {MT_MAX_STATE = N};
+2 -2
View File
@@ -1,6 +1,6 @@
/*
** irep.h - mrb_irep structure
**
**
** See Copyright Notice in mruby.h
*/
@@ -26,4 +26,4 @@ typedef struct mrb_irep {
void mrb_add_irep(mrb_state *mrb, int n);
#endif /* MRUBY_IREP_H */
#endif /* MRUBY_IREP_H */
+1 -1
View File
@@ -1,6 +1,6 @@
/*
** ritehash.c - Rite Hash for mruby
**
**
** See Copyright Notice in mruby.h
*/
+2 -2
View File
@@ -1,6 +1,6 @@
/*
** numeric.h - Numeric, Integer, Float, Fixnum class
**
**
** See Copyright Notice in mruby.h
*/
@@ -20,4 +20,4 @@ mrb_value mrb_flt2big(mrb_state *mrb, float d);
void mrb_num_zerodiv(mrb_state *mrb);
mrb_value mrb_fix2str(mrb_state *mrb, mrb_value x, int base);
#endif /* MRUBY_NUMERIC_H */
#endif /* MRUBY_NUMERIC_H */
+3 -3
View File
@@ -1,13 +1,13 @@
/*
** object.h - Object, NilClass, TrueClass, FalseClass class
**
**
** See Copyright Notice in mruby.h
*/
#ifndef MRUBY_OBJECT_H
#define MRUBY_OBJECT_H
#define MRUBY_OBJECT_HEADER \
#define MRUBY_OBJECT_HEADER \
enum mrb_vtype tt:8;\
int color:3;\
unsigned int flags:21;\
@@ -49,4 +49,4 @@ struct RObject {
#define ROBJECT(v) ((struct RObject*)((v).value.p))
#define ROBJECT_IVPTR(v) (((struct RObject*)((v).value.p))->iv)
#define ROBJECT_NUMIV(v) (ROBJECT_IVPTR(v) ? ROBJECT_IVPTR(v)->size : 0)
#endif /* MRUBY_OBJECT_H */
#endif /* MRUBY_OBJECT_H */
+9 -9
View File
@@ -1,6 +1,6 @@
/*
** proc.h - Proc class
**
**
** See Copyright Notice in mruby.h
*/
@@ -28,13 +28,13 @@ struct RProc {
};
/* aspec access */
#define ARGS_GETREQ(a) (((a) >> 19) & 0x1f)
#define ARGS_GETOPT(a) (((a) >> 14) & 0x1f)
#define ARGS_GETREST(a) ((a) & (1<<13))
#define ARGS_GETPOST(a) (((a) >> 8) & 0x1f)
#define ARGS_GETKEY(a) (((a) >> 3) & 0x1f))
#define ARGS_GETKDICT(a) ((a) & (1<<2))
#define ARGS_GETBLOCK(a) ((a) & (1<<1))
#define ARGS_GETREQ(a) (((a) >> 19) & 0x1f)
#define ARGS_GETOPT(a) (((a) >> 14) & 0x1f)
#define ARGS_GETREST(a) ((a) & (1<<13))
#define ARGS_GETPOST(a) (((a) >> 8) & 0x1f)
#define ARGS_GETKEY(a) (((a) >> 3) & 0x1f))
#define ARGS_GETKDICT(a) ((a) & (1<<2))
#define ARGS_GETBLOCK(a) ((a) & (1<<1))
#define MRB_PROC_CFUNC 128
#define MRB_PROC_CFUNC_P(p) ((p)->flags & MRB_PROC_CFUNC)
@@ -47,4 +47,4 @@ struct RProc *mrb_proc_new(mrb_state*, mrb_irep*);
struct RProc *mrb_proc_new_cfunc(mrb_state*, mrb_func_t);
struct RProc *mrb_closure_new(mrb_state*, mrb_irep*);
#endif /* MRUBY_STRING_H */
#endif /* MRUBY_STRING_H */
+2 -2
View File
@@ -1,6 +1,6 @@
/*
** range.h - Range class
**
**
** See Copyright Notice in mruby.h
*/
@@ -24,4 +24,4 @@ mrb_int mrb_range_beg_len(mrb_state *mrb, mrb_value range, mrb_int *begp, mrb_in
int mrb_obj_is_instance_of(mrb_state *mrb, mrb_value obj, struct RClass* c);
struct RClass* mrb_class_real(struct RClass* cl);
#endif /* MRUBY_RANGE_H */
#endif /* MRUBY_RANGE_H */
+1 -1
View File
@@ -1,6 +1,6 @@
/*
** string.h - String class
**
**
** See Copyright Notice in mruby.h
*/
+1 -1
View File
@@ -1,6 +1,6 @@
/*
** struct.h - Struct class
**
**
** See Copyright Notice in mruby.h
*/
+2 -2
View File
@@ -1,6 +1,6 @@
/*
** variable.h - mruby variables
**
**
** See Copyright Notice in mruby.h
*/
@@ -44,4 +44,4 @@ mrb_value mrb_f_global_variables(mrb_state *mrb, mrb_value self);
mrb_value mrb_gv_get(mrb_state *mrb, mrb_sym sym);
void mrb_gv_set(mrb_state *mrb, mrb_sym sym, mrb_value val);
#endif /* MRUBY_VARIABLE_H */
#endif /* MRUBY_VARIABLE_H */