writeCloseNamespace method
void
writeCloseNamespace(
- GObjectOptions generatorOptions,
- Root root,
- Indent indent, {
- required String dartPackageName,
override
Writes code to indent
that closes file namespace if needed.
This method is not required, and does not need to be overridden.
Implementation
@override
void writeCloseNamespace(
GObjectOptions generatorOptions,
Root root,
Indent indent, {
required String dartPackageName,
}) {
indent.newln();
indent.writeln('G_END_DECLS');
indent.newln();
final String guardName = _getGuardName(generatorOptions.headerIncludePath);
indent.writeln('#endif // $guardName');
}