else {
modifier = "NORMAL";
}
-
+
this.file.printf ("INSERT INTO `ValadocClasses` (`id`, `modifier`) VALUES ((SELECT `id` FROM `ValadocApiElement` WHERE BINARY `fullname`='%s' LIMIT 1),'%s');\n", this.get_type_path(cl), modifier);
this.write_documentation (cl);
}
// ignore multiple occurences of the same package
return true;
}
-
+
var package_path = context.get_package_path (pkg, settings.vapi_directories);
-
+
if (package_path == null) {
return false;
}
Vala.Report.error (null, "Unable to read dependency file: %s".printf (e.message));
}
}
-
+
return true;
}
} else if (source.has_suffix (".vapi")) {
string file_name = Path.get_basename (source);
file_name = file_name.ndup ( file_name.size() - ".vapi".size() );
-
+
var vfile = new Vala.SourceFile (context, rpath, true);
- Package vdpkg = new Package (vfile, file_name);
+ Package vdpkg = new Package (vfile, file_name);
context.add_source_file (vfile);
this.packages.add (vdpkg);
} else if (source.has_suffix (".c")) {
public class Valadoc.Content.List : ContentElement, Block {
public Gee.List<ListItem> items { get { return _items; } }
-
+
private Gee.List<ListItem> _items;
internal List () {