compile_to_c
function. This functionis useful if you need to register any function compiled to c. Step 8 (optional).
# Hook called at the end of `compile_to_c` function. This function
# is useful if you need to register any function compiled to c.
# Step 8 (optional).
protected fun end_compile_to_c(v: VISITOR)
do
# Nothing to do by default
end
src/compiler/abstract_compiler.nit:2224,2--2230,4
redef fun end_compile_to_c(v)
do
if not self.c_name.has_substring("VIRTUAL", 0) then v.compiler.names[self.c_name] = "{mmethoddef.mclassdef.mmodule.name}::{mmethoddef.mclassdef.mclass.name}::{mmethoddef.mproperty.name} ({mmethoddef.location.file.filename}:{mmethoddef.location.line_start})"
end
src/compiler/global_compiler.nit:1099,9--1102,11