[Freeswitch-svn] [commit] r5022 - freeswitch/trunk/libs/js/src

Freeswitch SVN mikej at freeswitch.org
Thu Apr 26 18:03:59 EDT 2007


Author: mikej
Date: Thu Apr 26 18:03:58 2007
New Revision: 5022

Modified:
   freeswitch/trunk/libs/js/src/jspubtd.h

Log:
fix MODLANG-12 and proper fix for MODLANG-7

Modified: freeswitch/trunk/libs/js/src/jspubtd.h
==============================================================================
--- freeswitch/trunk/libs/js/src/jspubtd.h	(original)
+++ freeswitch/trunk/libs/js/src/jspubtd.h	Thu Apr 26 18:03:58 2007
@@ -552,7 +552,7 @@
  * JSEXN_NONE marks an unthrowable error.
  */
 typedef enum JSExnType {
-    JSEXN_NONE,
+    JSEXN_NONE = -1,
       JSEXN_ERR,
         JSEXN_INTERNALERR,
         JSEXN_EVALERR,
@@ -567,7 +567,7 @@
 typedef struct JSErrorFormatString {
     const char *format;  /* the error message (may be UTF-8 if compiled with JS_C_STRINGS_ARE_UTF8) */
     uint16 argCount;     /* the number of arguments to convert in the error message */
-    uint16 exnType;      /* One of the JSExnType constants above */
+    JSExnType exnType;      /* One of the JSExnType constants above */
 } JSErrorFormatString;
 
 typedef const JSErrorFormatString *



More information about the Freeswitch-svn mailing list