Moved the instance creation of GUID's to a new file.

Size of compobj.o goes down to 1/3; should prevent more sig11's.
This commit is contained in:
Juergen Schmied 1999-01-23 14:06:44 +00:00 committed by Alexandre Julliard
parent f072fc97d7
commit 7b33e2b91c
3 changed files with 21 additions and 16 deletions

View file

@ -7,6 +7,7 @@ MODULE = ole
C_SRCS = \
compobj.c \
guid.c \
ifs.c \
moniker.c \
ole2.c \

View file

@ -27,12 +27,12 @@
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "windows.h"
#include "winerror.h"
#include "ole.h"
#include "ole2.h"
#include "debug.h"
#include "file.h"
@ -40,21 +40,6 @@
#include "ldt.h"
#include "winreg.h"
#define INITGUID
/* FIXME: we include all the header files containing GUIDs
* so that the corresponding variables get defined. But they
* don't even all belong to the same DLL !!!
*/
#include "objbase.h"
#include "servprov.h"
#include "shlobj.h"
#include "ddraw.h"
#include "d3d.h"
#include "dinput.h"
#include "dsound.h"
#include "dplay.h"
#include "objbase.h"
LPMALLOC16 currentMalloc16=NULL;

19
ole/guid.c Normal file
View file

@ -0,0 +1,19 @@
#ifndef __guid_h_
#define __guid_h_
#define INITGUID
/* FIXME: we include all the header files containing GUIDs
* so that the corresponding variables get defined. But they
* don't even all belong to the same DLL !!!
*/
#include "oleobj.h"
#include "objbase.h"
#include "servprov.h"
#include "ddraw.h"
#include "d3d.h"
#include "dinput.h"
#include "dsound.h"
#include "dplay.h"
#endif