1 /* Copyright (C) 2001-2006 Artifex Software, Inc.
2    All Rights Reserved.
3 
4    This software is provided AS-IS with no warranty, either express or
5    implied.
6 
7    This software is distributed under license and may not be copied, modified
8    or distributed except as expressly authorized under the terms of that
9    license.  Refer to licensing information at http://www.artifex.com/
10    or contact Artifex Software, Inc.,  7 Mt. Lassen Drive - Suite A-134,
11    San Rafael, CA  94903, U.S.A., +1(415)492-9861, for further information.
12 */
13 
14 /* dwnodll.c */
15 /* $Id: dwnodll.c 9043 2008-08-28 22:48:19Z giles $ */
16 
17 #define STRICT
18 #include <windows.h>
19 #include <string.h>
20 #include <stdio.h>
21 
22 #include "stdpre.h"
23 #include "gpgetenv.h"
24 #include "gscdefs.h"
25 #define GSREVISION gs_revision
26 
27 #include "dwdll.h"
28 
29 /* We are static linking, so just store the function addresses */
load_dll(GSDLL * gsdll,char * last_error,int len)30 int load_dll(GSDLL *gsdll, char *last_error, int len)
31 {
32     gsdll->new_instance = &gsapi_new_instance;
33     gsdll->delete_instance = &gsapi_delete_instance;
34     gsdll->set_stdio = &gsapi_set_stdio;
35     gsdll->set_poll = &gsapi_set_poll;
36     gsdll->set_display_callback = &gsapi_set_display_callback;
37     gsdll->init_with_args = &gsapi_init_with_args;
38     gsdll->run_string = &gsapi_run_string;
39     gsdll->exit = &gsapi_exit;
40     gsdll->set_visual_tracer = &gsapi_set_visual_tracer;
41     return 0;
42 }
43 
unload_dll(GSDLL * gsdll)44 void unload_dll(GSDLL *gsdll)
45 {
46 }
47