[quickjs-devel] Re: Read Only Property, that C code can modify, but JS code can't
- From: "Sam Chang" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "sam.chang" for DMARC)
- To: quickjs-devel@xxxxxxxxxxxxx
- Date: Thu, 8 Aug 2019 11:05:04 +0800
have a try JS_SetOpaque/JS_GetOpaque
On Aug 8, 2019, at 2:50 AM, Connor Nolan <connor24nolan@xxxxxxxx> wrote:
Is it possible to create a read only property that C code can modify, but JS
can't, and that cant be overridden by Object.defineProperty()? Also is it
possible to give an object a hidden property that is only accessible from C
code?
Other related posts:
- » [quickjs-devel] Read Only Property, that C code can modify, but JS code can't- Connor Nolan
- » [quickjs-devel] Re: Read Only Property, that C code can modify, but JS code can't - Sam Chang
- » [quickjs-devel] Re: Read Only Property, that C code can modify, but JS code can't- Connor Nolan
- » [quickjs-devel] Re: Read Only Property, that C code can modify, but JS code can't- Connor Nolan
- » [quickjs-devel] Re: Read Only Property, that C code can modify, but JS code can't- Saúl Ibarra Corretgé