mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-28 21:54:40 +03:00
AK: Add Bitmap::is_null()
This class has a null state but there was no API to check for it.
This commit is contained in:
parent
c1c37cc5bd
commit
ddaeb294dc
Notes:
sideshowbarker
2024-07-18 21:44:01 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/ddaeb294dc8
@ -148,6 +148,8 @@ public:
|
||||
return count;
|
||||
}
|
||||
|
||||
bool is_null() const { return !m_data; }
|
||||
|
||||
u8* data() { return m_data; }
|
||||
const u8* data() const { return m_data; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user