Re: TSMloc

2018-06-14 Thread Alan Carroll
I think more for past safety reasons. Leif did quite a bit of work around the 5.x time frame to make the release logic more forgiving. On Wed, Jun 13, 2018 at 4:22 PM, Walt Karas wrote: > In TSHandleMLocRelease(), in the one case where this function is not a > do-nothing, the "parent" is validat

Re: TSMloc

2018-06-13 Thread Walt Karas
In TSHandleMLocRelease(), in the one case where this function is not a do-nothing, the "parent" is validated, but does not seem to be actually used. Is the parent relationship needed for some future-safety reason? On Wed, Jun 13, 2018 at 2:36 PM, Alan Carroll wrote: > I think it's a type pun of

Re: TSMloc

2018-06-13 Thread Alan Carroll
I think it's a type pun of one of a variety of different classes. Type punning makes it less likely the user of the API will pass the wrong type to an API call, although given the apparent variety of things passed back as TSMLoc, I'm not sure how good a job it's doing of that. Although definitely v