Pop-Up Thingie
Sidebar
Too Lazy BBS
Home
Forum
Files
Chat
Bulletins
Dark
Register
Log in
Username
Password
Who's Online
Recent Visitors
Guest
Sun May 18 01:43:09 2025
from
n
via
SSH
Daniel Garrod
Thu May 15 08:12:31 2025
from
Cambridge, Uk
via
Telnet
Daniel Garrod
Wed May 14 09:33:55 2025
from
Cambridge, Uk
via
Telnet
Amr
Sun May 11 19:13:33 2025
from
Fayetteville, Nc
via
Telnet
System Info
Sysop:
Amessyroom
Location:
Fayetteville, NC
Users:
28
Nodes:
6 (
0
/
6
)
Uptime:
42:55:31
Calls:
422
Calls today:
1
Files:
1,024
Messages:
90,175
Sidebar
Forum
Usenet
COMP.LANG.RUBY
ruby internal technology question
From
aotto1968
@21:1/5 to
All
on Fri Sep 27 09:52:47 2024
Hi, the following code from "symbol.h"
#if defined(HAVE_STMT_AND_DECL_IN_EXPR)
/* __builtin_constant_p and statement expression is available
* since gcc-2.7.2.3 at least. */
#define rb_intern(str) \
(RBIMPL_CONSTANT_P(str) ? \
__extension__ ({ \
static ID rbimpl_id; \
rbimpl_intern_const(&rbimpl_id, (str)); \
}) : \
(rb_intern)(str))
#endif
#endif /* RBIMPL_SYMBOL_H */
uses
static ID rbimpl_id;
just to provide storage for the ID, why?
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)