Do not publish an empty namespace as part of a VAPI
@astavale
Submitted by Al Thomas Link to original bug (#783453)
Description
Compiling the following file, test.vala:
namespace Test {
private const int ONE = 1;
internal const int TWO = 2;
}
with
valac --library test --vapi test.vapi --ccode test.vala
produces:
/* test.vapi generated by valac 0.36.1.40-ef6a6, do not modify. */
namespace Test {
}
There are no public symbols in the namespace, so the namespace shouldn't be present.
Edited by Corentin Noël