mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 02:52:58 +00:00
[CSCRIPT][WSCRIPT] Sync with Wine Staging 3.3. CORE-14434
This commit is contained in:
parent
407c54bae3
commit
eae3333c2f
8 changed files with 79 additions and 42 deletions
|
@ -16,25 +16,9 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef _WSCRIPT_H_
|
||||
#define _WSCRIPT_H_
|
||||
#pragma once
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#define WIN32_NO_STATUS
|
||||
#define _INC_WINDOWS
|
||||
#define COBJMACROS
|
||||
#define CONST_VTABLE
|
||||
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
#include <initguid.h>
|
||||
#include <ole2.h>
|
||||
#include <ihost.h>
|
||||
#include <wine/debug.h>
|
||||
#include <wine/unicode.h>
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(wscript);
|
||||
#include "ihost.h"
|
||||
|
||||
extern IHost host_obj;
|
||||
|
||||
|
@ -51,20 +35,3 @@ extern WCHAR **argums;
|
|||
extern int numOfArgs;
|
||||
|
||||
extern VARIANT_BOOL wshInteractive;
|
||||
|
||||
static inline void * __WINE_ALLOC_SIZE(1) heap_alloc(size_t len)
|
||||
{
|
||||
return HeapAlloc(GetProcessHeap(), 0, len);
|
||||
}
|
||||
|
||||
static inline void * __WINE_ALLOC_SIZE(1) heap_alloc_zero(size_t len)
|
||||
{
|
||||
return HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, len);
|
||||
}
|
||||
|
||||
static inline BOOL heap_free(void *mem)
|
||||
{
|
||||
return HeapFree(GetProcessHeap(), 0, mem);
|
||||
}
|
||||
|
||||
#endif /* _WSCRIPT_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue