ossp-pkg/js/src/jsapi.c 1.12 -> 1.13
--- jsapi.c 2006/08/03 12:41:28 1.12
+++ jsapi.c 2006/08/03 13:19:20 1.13
@@ -82,6 +82,10 @@
#include "jsfile.h"
#endif
+#if defined(OSSP) && defined(JS_HAS_DSO_OBJECT) && (JS_HAS_DSO_OBJECT - 0)
+#include "jsdso.h"
+#endif
+
#if JS_HAS_XML_SUPPORT
#include "jsxml.h"
#endif
@@ -1215,6 +1219,9 @@
#if defined(JS_HAS_FILE_OBJECT) && (JS_HAS_FILE_OBJECT - 0) /* OSSP BUGFIX */
js_InitFileClass(cx, obj) &&
#endif
+#if defined(JS_HAS_DSO_OBJECT) && (JS_HAS_DSO_OBJECT - 0)
+ js_InitDSOClass(cx, obj) &&
+#endif
#endif
js_InitDateClass(cx, obj);
}
@@ -1258,6 +1265,9 @@
#if defined(JS_HAS_FILE_OBJECT) && (JS_HAS_FILE_OBJECT - 0) /* OSSP BUGFIX */
{js_InitFileClass, ATOM_OFFSET(File)},
#endif
+#if defined(JS_HAS_DSO_OBJECT) && (JS_HAS_DSO_OBJECT - 0)
+ {js_InitDSOClass, ATOM_OFFSET(DSO)},
+#endif
{NULL, 0}
};
|
|