* Remove one time inclusions from the main header and put them back where they belong.
* Improve header inclusions.
* Improve the GUIDs situation.
CORE-7716
svn path=/trunk/; revision=61771
#include "jscript.h"
-#include <objsafe.h>
#include <mshtmhst.h>
/* Defined as extern in urlmon.idl, but not exported by uuid.lib */
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#pragma once
+
typedef struct _source_elements_t source_elements_t;
typedef struct _expression_t expression_t;
typedef struct _statement_t statement_t;
#include "jscript.h"
-#include <objsafe.h>
-
#ifdef _WIN64
#define CTXARG_T DWORDLONG
#include <wine/port.h>
#include <assert.h>
-#include <math.h>
#include <stdarg.h>
-#include <stdio.h>
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#include <windef.h>
#include <winbase.h>
-#include <winuser.h>
-#include <ole2.h>
+#include <objbase.h>
+#include <oleauto.h>
#include <dispex.h>
#include <activscp.h>
+#include <objsafe.h>
-#include <wine/unicode.h>
+#include <wine/debug.h>
#include <wine/list.h>
+#include <wine/unicode.h>
-#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(jscript);
#include "resource.h"
#include "jscript.h"
-#include <initguid.h>
#include <rpcproxy.h>
+#include <initguid.h>
#include <jscript_classes.h>
LONG module_ref = 0;
-DEFINE_GUID(GUID_NULL,0,0,0,0,0,0,0,0,0,0,0);
-
HINSTANCE jscript_hinstance;
static HRESULT WINAPI ClassFactory_QueryInterface(IClassFactory *iface, REFIID riid, void **ppv)
*
* In the future more layouts and transformations may be added.
*/
+
+#pragma once
+
struct _jsstr_t {
unsigned length_flags;
unsigned ref;
void jsval_release(jsval_t) DECLSPEC_HIDDEN;
HRESULT jsval_copy(jsval_t,jsval_t*) DECLSPEC_HIDDEN;
-#endif
+#endif /* JSVAL_H */
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#pragma once
+
/*
* Code in this file is based on files:
* js/src/jsregexp.h