The code below is not correct please check the link mentioned above. I had to remove @ signs because the question parser did not allow me to put them in.
namespace Constants {
public const string CONF_DIR = “aCONF_DIRa”;
public const string GETTEXT_PACKAGE = “aGETTEXT_PACKAGEa”;
public const string GSD_DIR = “aGSD_DIRa”;
public const string VERSION = “aVERSIONa”;
}
What are @ variables in vala ?
Are they command line variables or environment variables or something else entirely ?
The config.vala.in file is a “template file”; it is processed during the build to generate the config.vala file that will then be used. The @NAME@ variables are expanded by Meson to their value as determined during the project’s configuration, via the configure_file() function: