public override Gee.List<string> get_cheader_filenames () {
return new ReadOnlyList<string> (cheader_filenames);
}
-
- /**
- * Returns the C header filename of this namespace.
- *
- * @return header filename
- */
- public string get_cheader_filename () {
- var s = new StringBuilder ();
- bool first = true;
- foreach (string cheader_filename in get_cheader_filenames ()) {
- if (first) {
- first = false;
- } else {
- s.append_c (',');
- }
- s.append (cheader_filename);
- }
- return s.str;
- }
-
+
/**
* Sets the C header filename of this namespace to the specified
* filename.
return get_subdir () + Path.get_basename (filename);
}
- /**
- * Returns the filename to use when generating C header files.
- *
- * @return generated C header filename
- */
- public string get_cheader_filename () {
- if (cheader_filename == null) {
- cheader_filename = "%s%s.h".printf (get_destination_directory (), get_basename ());
- }
- return cheader_filename;
- }
-
/**
* Returns the filename to use when generating C source files.
*