enum CSourceLanguage [src]
Fields
c
cpp
objective_c
objective_cpp
assemblyStandard assembly
assembly_with_preprocessorAssembly with the C preprocessor
Members
- internalIdentifier (Function)
Source
pub const CSourceLanguage = enum {
c,
cpp,
objective_c,
objective_cpp,
/// Standard assembly
assembly,
/// Assembly with the C preprocessor
assembly_with_preprocessor,
pub fn internalIdentifier(self: CSourceLanguage) []const u8 {
return switch (self) {
.c => "c",
.cpp => "c++",
.objective_c => "objective-c",
.objective_cpp => "objective-c++",
.assembly => "assembler",
.assembly_with_preprocessor => "assembler-with-cpp",
};
}
}