in reply to Re: what definition of Istack_sp
in thread what definition of Istack_sp
So perl use PERLVAR to define perlinterpreter struct, it's strange to me, why is it not define perlinterpreter structure directly in perl.h? Please enlighten me.# define PERLVAR(prefix,var,type) type prefix##var; /* 'var' is an array of length 'n' */ # define PERLVARA(prefix,var,n,type) type prefix##var[n]; /* initialize 'var' to init' */ # define PERLVARI(prefix,var,type,init) type prefix##var; /* like PERLVARI, but make 'var' a const */ # define PERLVARIC(prefix,var,type,init) type prefix##var; struct interpreter { # include "intrpvar.h" };
I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: what definition of Istack_sp
by dave_the_m (Monsignor) on Jan 13, 2019 at 11:26 UTC | |
by xiaoyafeng (Deacon) on Jan 14, 2019 at 08:14 UTC | |
by dave_the_m (Monsignor) on Jan 14, 2019 at 10:54 UTC |