[Geany-Devel] About Malloc memory for each tab?

Thomas Martitz kugel at xxxxx
Tue Oct 27 15:55:22 UTC 2015

Am 24.10.2015 um 02:30 schrieb Matthew Brush:
> FWIW, doc->id is basically not very useful, it just tells the index 
> into some internal array of GeanyDocument objects, but is not unique 
> to each document/tab per se (it gets recycled for new documents and 
> such).

doc->id is unique these days, via an ever-incrementing document counter. 
What you are refering to is stored in doc->index.

Best regards

More information about the Devel mailing list