Squirrel

The programming language
Welcome to Squirrel Sign in | Join | Help
in Search

Exception

Last post 06-06-2009, 6:20 AM by kanryu. 0 replies.
Sort Posts: Previous Next
  •  06-06-2009, 6:20 AM 3297

    Exception

    If we call throw(*) at binded C++ function/method, we accept exception in outer code(e.g. calling sq_call() ) with no cleaning up by Squirrel.

    So I suggest the following:

    1. call throw(*) at binded C++ function/method
    2. call Squirrel throw (sq_throwerror() ) [binder]
    3. call throw; (the same exeption throwing) [sq_call]
    4. again [2]
    comments?
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems