首页 > Web开发 > 详细

JSContext

时间:2016-11-24 06:53:00      阅读:259      评论:0      收藏:0      [点我收藏+]

An instance of JSContext represents a JavaScript execution environment. All

 JavaScript execution takes place within a context.

 JSContext is also used to manage the life-cycle of objects within the

 JavaScript virtual machine. Every instance of JSValue is associated with a

 JSContext via a strong reference. The JSValue will keep the JSContext it

 references alive so long as the JSValue remains alive. When all of the JSValues

 that reference a particular JSContext have been deallocated the JSContext

 will be deallocated unless it has been previously retained.

JSContext

原文:http://www.cnblogs.com/feng9exe/p/6096068.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!