self
.This name is used to prefix files and other C identifiers associated with self
.
# Return the name of the global C identifier associated to `self`.
# This name is used to prefix files and other C identifiers associated with `self`.
redef var c_name is lazy do
var g = mgroup
var res
if g != null and g.mpackage.name != name then
res = g.mpackage.name.to_cmangle + "__" + name.to_cmangle
else
res = name.to_cmangle
end
return res
end
src/model/mmodule.nit:145,2--156,4