Lifetimes for Bitmaps loaded from Bitmap Tables

In order to properly wrap BitmapTable in Rust I need to know about the lifetime relationship between the table and bitmaps it loads.

For example, if I load a bitmap from a bitmap table then free the bitmap table, is the bitmap still valid?

2 Likes

Hey! I just noticed that this question never got answered. In case it's still valuable, an image loaded from the image table will refer to the same data as the original imageTable, rather than creating a new copy. So, if the imageTable data were to be freed, the image would also no longer be valid.

2 Likes