1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:07:47 +00:00

LibCore: Remove all remaining C prefix references

LibCore's GZip is also moved into the Core namespace with this change.
This commit is contained in:
Shannon Booth 2020-03-07 11:37:51 +13:00 committed by Andreas Kling
parent 4a271430f8
commit 57f1c919df
17 changed files with 42 additions and 34 deletions

View file

@ -69,7 +69,7 @@ int Application::exec()
{
int exit_code = m_event_loop->exec();
// NOTE: Maybe it would be cool to return instead of exit()?
// This would require cleaning up all the CObjects on the heap.
// This would require cleaning up all the Core::Objects on the heap.
exit(exit_code);
return exit_code;
}

View file

@ -95,7 +95,7 @@ void FileSystemModel::Node::traverse_if_needed(const FileSystemModel& model)
auto full_path = this->full_path(model);
Core::DirIterator di(full_path, Core::DirIterator::SkipDots);
if (di.has_error()) {
fprintf(stderr, "CDirIterator: %s\n", di.error_string());
fprintf(stderr, "DirIterator: %s\n", di.error_string());
return;
}

View file

@ -45,7 +45,7 @@ GFontDatabase::GFontDatabase()
{
Core::DirIterator di("/res/fonts", Core::DirIterator::SkipDots);
if (di.has_error()) {
fprintf(stderr, "CDirIterator: %s\n", di.error_string());
fprintf(stderr, "DirIterator: %s\n", di.error_string());
exit(1);
}
while (di.has_next()) {