Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 129 lines (125 sloc) 2.862 kb
9595725 update copyrights to 2011
Laurent Sansonetti authored
1 /*
2 * This file is covered by the Ruby license. See COPYING for more details.
7d7d3e8 @ferrous26 Change ownership to The MacRuby Team and update copyrights
ferrous26 authored
3 *
4 * Copyright (C) 2012, The MacRuby Team. All rights reserved.
9595725 update copyrights to 2011
Laurent Sansonetti authored
5 * Copyright (C) 2007-2011, Apple Inc. All rights reserved.
6 * Copyright (C) 2007 Koichi Sasada
7 */
9c1d230 committing experimental branch content
Laurent Sansonetti authored
8
9 #ifndef RUBY_ID_H
10 #define RUBY_ID_H
11
12 extern VALUE symIFUNC;
13 extern VALUE symCFUNC;
14
15 extern ID idPLUS;
16 extern ID idMINUS;
17 extern ID idMULT;
18 extern ID idDIV;
19 extern ID idMOD;
20 extern ID idLT;
21 extern ID idLTLT;
22 extern ID idLE;
23 extern ID idGT;
24 extern ID idGE;
25 extern ID idEq;
26 extern ID idEqq;
27 extern ID idNeq;
28 extern ID idNot;
29 extern ID idBackquote;
30 extern ID idEqTilde;
31 extern ID idThrowState;
32 extern ID idAREF;
33 extern ID idASET;
34 extern ID idIntern;
35 extern ID idMethodMissing;
36 extern ID idLength;
37 extern ID idGets;
38 extern ID idSucc;
39 extern ID idEach;
40 extern ID idLambda;
41 extern ID idRangeEachLT;
42 extern ID idRangeEachLE;
43 extern ID idArrayEach;
44 extern ID idTimes;
45 extern ID idEnd;
46 extern ID idSend;
47 extern ID id__send__;
48 extern ID idRespond_to;
49 extern ID idInitialize;
c1833dd some work on garbage collecting singleton classes - disabled for now …
Laurent Sansonetti authored
50 extern ID idAttached;
9c1d230 committing experimental branch content
Laurent Sansonetti authored
51 #if WITH_OBJC
52 extern SEL selPLUS;
53 extern SEL selMINUS;
54 extern SEL selMULT;
55 extern SEL selDIV;
56 extern SEL selMOD;
e59fe57 fixed String#sum to accept bits argument greater than 64 (logic impor…
Laurent Sansonetti authored
57 extern SEL selAND;
9c1d230 committing experimental branch content
Laurent Sansonetti authored
58 extern SEL selEq;
59 extern SEL selNeq;
35d9f66 optimized rb_num_coerce_bin() calls + optimized complex.c to use the …
Laurent Sansonetti authored
60 extern SEL selCmp;
9c1d230 committing experimental branch content
Laurent Sansonetti authored
61 extern SEL selLT;
62 extern SEL selLE;
63 extern SEL selGT;
64 extern SEL selGE;
65 extern SEL selLTLT;
66 extern SEL selAREF;
67 extern SEL selASET;
68 extern SEL selLength;
69 extern SEL selSucc;
70 extern SEL selNot;
19f18d3 a new Symbol class, unicode-aware + refactored/cleaned symbol generation
Laurent Sansonetti authored
71 extern SEL selNot2;
9c1d230 committing experimental branch content
Laurent Sansonetti authored
72 extern SEL selAlloc;
f0291bf define -allocWithZone: and not -alloc on every new Ruby class
Laurent Sansonetti authored
73 extern SEL selAllocWithZone;
06f4a0c create -copyWithZone: on every new Object-based Ruby class
Laurent Sansonetti authored
74 extern SEL selCopyWithZone;
9c1d230 committing experimental branch content
Laurent Sansonetti authored
75 extern SEL selInit;
76 extern SEL selInitialize;
77 extern SEL selInitialize2;
9590d40 fixing and adding several missing ruby method features
Laurent Sansonetti authored
78 extern SEL selInitializeCopy;
0a52569 @Watson1978 Object#clone calls initialize_clone hook
Watson1978 authored
79 extern SEL selInitializeClone;
b3d3de8 @Watson1978 Object#dup calls initialize_dup hook
Watson1978 authored
80 extern SEL selInitializeDup;
a3ff57f overwrite -[NSObject description] in every new subclass + optimized o…
Laurent Sansonetti authored
81 extern SEL selDescription;
82 extern SEL selInspect;
792d1ad implemented Method#to_proc, fixed Hash.new{}
Laurent Sansonetti authored
83 extern SEL selNew;
9c1d230 committing experimental branch content
Laurent Sansonetti authored
84 extern SEL selRespondTo;
85 extern SEL selMethodMissing;
927e7ec call const_missing with a direct VM call
Laurent Sansonetti authored
86 extern SEL selConstMissing;
9c1d230 committing experimental branch content
Laurent Sansonetti authored
87 extern SEL selCopy;
28f110b removed the previous bytestring code and now use the new one
Laurent Sansonetti authored
88 extern SEL selMutableCopy;
9c1d230 committing experimental branch content
Laurent Sansonetti authored
89 extern SEL selToS;
3d5760c more small Array optimizations
Laurent Sansonetti authored
90 extern SEL selToAry;
9c1d230 committing experimental branch content
Laurent Sansonetti authored
91 extern SEL sel_zone;
92 extern SEL selSend;
93 extern SEL sel__send__;
639c64d implemented ObjectSpace finalizers (experimental)
Laurent Sansonetti authored
94 extern SEL selCall;
9c1d230 committing experimental branch content
Laurent Sansonetti authored
95 extern SEL selEqTilde;
c59aa3c working on a new objc dispatch, marked a few methods are always_inline
Laurent Sansonetti authored
96 extern SEL selClass;
9c1d230 committing experimental branch content
Laurent Sansonetti authored
97 extern SEL selEval;
084a52a a faster implementation of dvars + fixed eval bugs + preliminary impl…
Laurent Sansonetti authored
98 extern SEL selInstanceEval;
99 extern SEL selClassEval;
100 extern SEL selModuleEval;
101 extern SEL selLocalVariables;
102 extern SEL selBinding;
6757fc6 @takaokouji If a call to below methods is detected in a method at compile time, j…
takaokouji authored
103 extern SEL selNesting;
104 extern SEL selConstants;
9c1d230 committing experimental branch content
Laurent Sansonetti authored
105 extern SEL selEach;
106 extern SEL selEqq;
6a7c8b6 implemented struct #dup/#clone
Laurent Sansonetti authored
107 extern SEL selDup;
9c1d230 committing experimental branch content
Laurent Sansonetti authored
108 extern SEL selBackquote;
109 extern SEL selMethodAdded;
110 extern SEL selSingletonMethodAdded;
e732379 moved the removed_method code to the VM + fixed undef_method callbacks
Laurent Sansonetti authored
111 extern SEL selMethodRemoved;
112 extern SEL selSingletonMethodRemoved;
113 extern SEL selMethodUndefined;
114 extern SEL selSingletonMethodUndefined;
f0291bf define -allocWithZone: and not -alloc on every new Ruby class
Laurent Sansonetti authored
115 extern SEL selIsEqual;
c0d189d IO#write: if the receiver isn't an IO object, dispatches the write: s…
Laurent Sansonetti authored
116 extern SEL selWrite;
9590d40 fixing and adding several missing ruby method features
Laurent Sansonetti authored
117 extern SEL selInherited;
295167b - Added NODE_LAMBDA compatibility (for the "->" syntax)
Thibault Martin-Lagardette authored
118 extern SEL selLambda;
420a9db - Fixes #531 by implementing #[] and #[]= as shortcuts for objectFor…
Thibault Martin-Lagardette authored
119 extern SEL selObjectForKey;
120 extern SEL selSetObjectForKey;
c1833dd some work on garbage collecting singleton classes - disabled for now …
Laurent Sansonetti authored
121 extern SEL selFinalize;
00b147f add basic support for __method__ and __callee__
Laurent Sansonetti authored
122 extern SEL sel__method__;
123 extern SEL sel__callee__;
9c1d230 committing experimental branch content
Laurent Sansonetti authored
124 extern ID idIncludedModules;
125 extern ID idIncludedInClasses;
126 extern ID idAncestors;
127 #endif
128 #endif /* RUBY_ID_H */
Something went wrong with that request. Please try again.