- public Gee.HashMap<int,string> checkString(string contents)
+ public Gee.HashMap<int,string> checkString( )
{
// init context:
var valac = "valac " ;
var source_file = new Vala.SourceFile (
context,
Vala.SourceFileType.SOURCE,
- "~~~~~testfile.vala",
- contents
+ file
);
source_file.add_using_directive (ns_ref);
context.add_source_file (source_file);