Mercurial > MadButterfly
view nodejs/README.h @ 766:be0e02948c1d
Improve resource management for coords, shapes and paints.
- Make paint to use weak reference to release resource before collected.
- Call Persistent<Object>::Dispose() before deleting the handle
variable. Dispose() will real release Persistent handle. Handle
variable is just a pointer to the handle.
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Sun, 29 Aug 2010 13:34:40 +0800 |
parents | 7bb126d42282 |
children | 586e50f82c1f |
line wrap: on
line source
/*! \defgroup xnjsmb MadButterfly JS binding for V8 and nodejs * * This implementation of JS binding heavily relies on * tools/gen_v8_binding.m4, a set of m4 macros. We defines binding in * nodejs/*.m4 files and generate respective code, nodejs/*-inc.h, * with macros defined in tools/gen_v8_binding.m4. *-inc.h files are * included by respective *.cc files they implement functions needed * by generated code. */