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

Victor T <[email protected]> Wed, 11 Sep 2024 16:57:38 -0700 (PDT)
Newsgroups gmane.editors.scite.general
Message-ID <[email protected]>
I mainly just need to know if it's okay for the caller to deallocate 
`pixmap` (xpm) after the call to ` *SCI_MARKERDEFINEPIXMAP* ` or will this 
result in undefined behavior?
On Wednesday, September 11, 2024 at 2:15:36 PM UTC-7 Victor T wrote:

> Hi,
>
> Just a quick question, I was wondering whether `SCI_MARKERDEFINEPIXMAP` 
> steals a reference to the pixmap passed in or if it makes a copy? I checked 
> https://scintilla.org/ScintillaDoc.html#SCI_MARKERDEFINEPIXMAP and also 
> looked at `MarkerDefinePixmap` in ScintillaCall.cxx but it wasn't really 
> obvious what the expected convention is suppose to be.
>
> Thanks
>

-- 
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/c66216f0-38f0-4535-b802-ea1dd6e7e64en%40googlegroups.com.