Re: [webkit-dev] JSObjectGetClass proposal

2016-07-22 Thread Darin Adler
> On Jul 22, 2016, at 6:16 AM, Danilo Cesar Lemes de Paula > wrote: > > My > best option until now was defining a specific property during object > creation containing another object with the private pointer set to the > JSClassRef itself (as the main object SetPrivate

Re: [webkit-dev] JSObjectGetClass proposal

2016-07-22 Thread Danilo Cesar Lemes de Paula
On 21-07-2016 18:28, Darin Adler wrote: >> On Jul 21, 2016, at 12:09 PM, Danilo Cesar Lemes de Paula >> wrote: >> >> How to create a JSObjectRef as the same type as another one. > > Just curious: Is that something you can do in JavaScript itself? Actually, this is a bit