ats - What is the meaning of ATS_EXTERN_PREFIX? -
for instance, saw following line in atslib:
#define ats_extern_prefix "atslib_"
what meaning of ats_extern_prefix? purpose?
if have #define ats_extern_prefix "foo_"
, extern fun bar (...): ... = "mac#%"
, external name of bar
becomes ${ats_extern_prefix}bar
, i.e. foo_bar
.
essentially, '%' in declaration being replaced value of ats_extern_prefix
.
Comments
Post a Comment