Re: GRegex



If the regex object is immutable, language bindings can treat it as a "value object" (like a string or GdkColor or GdkRectangle) even though it's refcounted for efficiency. Also immutable objects can be shared among threads without locking.
A GObject on the other hand is never immutable since the GObject base 
class has post-construct-modifiable state.
Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]