#define _ and #define __

Hello,

I can’t find #define __ and #define _.
Please point me to the filename and line number of these definitions or
explain what they are.

These are provided so ruby can compile on old (pre-ANSI) compilers that
lack
function prototypes.

[[email protected] ruby]$ egrep ‘define *_ *(’ *.h
defines.h:# define _(args) args
defines.h:# define _(args) ()
dln.h:# define _(args) args
dln.h:# define _(args) ()
st.h:# define _(args) args
util.h:# define _(args) args
util.h:# define _(args) ()

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs