mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 18:00:16 +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:
parent
4a271430f8
commit
57f1c919df
Notes:
sideshowbarker
2024-07-19 08:51:34 +09:00
Author: https://github.com/shannonbooth
Commit: 57f1c919df
Pull-request: https://github.com/SerenityOS/serenity/pull/1370
17 changed files with 42 additions and 34 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue