Main Page | Class List | Directories | File List | Class Members | File Members

module.h

Go to the documentation of this file.
00001 /*
00002 || This file is part of Pike. For copyright information see COPYRIGHT.
00003 || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
00004 || for more information.
00005 || $Id: module.h,v 1.10 2002/10/22 16:02:39 grubba Exp $
00006 */
00007 
00008 #ifndef MODULE_H
00009 #define MODULE_H
00010 
00011 #include "global.h"
00012 
00013 #if defined(DYNAMIC_MODULE) && defined(__NT__)
00014 #define PIKE_MODULE_INIT __declspec(dllexport) void pike_module_init(void)
00015 #define PIKE_MODULE_EXIT __declspec(dllexport) void pike_module_exit(void)
00016 #else
00017 #define PIKE_MODULE_INIT void pike_module_init(void)
00018 #define PIKE_MODULE_EXIT void pike_module_exit(void)
00019 #endif /* DYNAMIC_MODULE && __NT__ */
00020 
00021 /* Prototypes begin here */
00022 struct static_module;
00023 void init_modules(void);
00024 void exit_modules(void);
00025 PIKE_MODULE_INIT;
00026 PIKE_MODULE_EXIT;
00027 /* Prototypes end here */
00028 
00029 #endif

Generated on Fri Jul 22 23:44:26 2005 for Pike by  doxygen 1.3.9.1