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

TSMloc

2018-06-13 Thread Walt Karas
In the TS API, what is the rational for the existence of the type TSMloc? How does it add value? As opposed to simply using void * .