ZeroCopyReturnValue: Add GetHandle()
This commit is contained in:
@@ -42,3 +42,7 @@ void ZeroCopyReturnValue::SetIndexed(bool input) {
|
||||
bool ZeroCopyReturnValue::IsIndexed() const {
|
||||
return indexed;
|
||||
}
|
||||
|
||||
uint32_t ZeroCopyReturnValue::GetHandle() const {
|
||||
return handle;
|
||||
}
|
||||
|
||||
@@ -23,6 +23,7 @@ public:
|
||||
void SetIndexed(bool input);
|
||||
|
||||
void *GetImage() const;
|
||||
[[nodiscard]] uint32_t GetHandle() const;
|
||||
[[nodiscard]] size_t GetImageSize() const;
|
||||
[[nodiscard]] int64_t GetImageNumber() const;
|
||||
[[nodiscard]] bool IsIndexed() const;
|
||||
|
||||
Reference in New Issue
Block a user