Re: What's ownership of pixmap parameter for `SCI_MARKERDEFINEPIXMAP`?

"'Neil Hodgson' via scite-interest" <[email protected]> Thu, 12 Sep 2024 18:11:22 +1000
Newsgroups gmane.editors.scite.general
Message-ID <[email protected]>
Victor T:

> I mainly just need to know if it's okay for the caller to deallocate `pixmap` (xpm) after the call to ` SCI_MARKERDEFINEPIXMAP `

   Yes.

> Just a quick question, I was wondering whether `SCI_MARKERDEFINEPIXMAP` steals a reference to the pixmap passed in or if it makes a copy?

   It makes a copy.

   Neil

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/scite-interest/ACFBAD67-6137-48E1-B054-E86B4AAEFA78%40me.com.