marcel@marcel ~/code/v8/include $ grep 'As(' v8.h
template <class S> inline Handle<S> As() {
template <class S> inline Local<S> As() {
template <class S> inline Persistent<S> As() {
There's definitely pieces of v8 that could use more documentation and you
just have to pick up from code sample (Signature, ResourceConstaints
[particularly the weird parameter signature of set_stack_limit]) but in
general I've found v8 to have one of the most elegant client API's I've ever
worked with in C++. v8.h is where I go first for documentation.
On Fri, Jul 1, 2011 at 1:57 AM, bradley.meck <[email protected]> wrote:
> You forgot a '('.
> Anyway, you seem upset and set in your ways; I would highly recommend
> searching the v8.h I linked for the future and search through the whole
> document (can be a pain if you dont include syntax like 'class Handle' or
> 'As(', but its probably in there). And yes, examples do not give exact
> details but sometimes you do not need to know exact details.
>
> Cheers,
> Bradley
>
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users
>
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users