The difference with new_var is the C static type of the local variable

Property definitions

nitc $ AbstractCompilerVisitor :: new_var_extern
	# The difference with `new_var` is the C static type of the local variable
	fun new_var_extern(mtype: MType): RuntimeVariable
	do
		mtype = self.anchor(mtype)
		var name = self.get_name("var")
		var res = new RuntimeVariable(name, mtype, mtype)
		self.add_decl("{mtype.ctype_extern} {name} /* : {mtype} for extern */;")
		return res
	end
src/compiler/abstract_compiler.nit:1640,2--1648,4