On Tue, May 28, 2002 at 04:45:06AM -0400, Mike Lambert wrote: > When you call new_*_header, the neonate > flag is automatically turned on for you. As a programmer writing a > function, you explicitly turn off the neonate flag when you attach it to > the root set, or let it die on the stack. If you return it, you don't do > anything, as it becomes the caller's job to handle.
Suppose your C code builds a nested datastructure. For instance, it creates some strings and add them to a hash-table. The hash-table is then returned. Should it clear the neonate flag of the strings? -- Jerome