Mozilla.com

  1. JS NewRuntime
Table of contents
No headers

Error Hiding!!!!

If JS_NewRuntime is successful, it returns a pointer to the runtime. Otherwise it returns NULL.

How do you get the message describing the error that caused JS_NewRuntime to return NULL? Will the C variable errno be set? Has error-hiding become a policy that permeates the code from top to bottom, making it impossible to discover the original error by the time control returns to your C program?

Kreist 17:36, 20 January 2008 (PST)

Page last modified 01:36, 21 Jan 2008 by Kreist

Tags:

Files (0)