Thread: CZ released!!!
View Single Post
Re: CZ released!!!
Old
  (#59)
dead bwoy
Member
 
dead bwoy's Avatar
 
Status: Offline
Posts: 512
Join Date: Feb 2004
Location: STL MO USA
Default Re: CZ released!!! - 05-04-2004

Code:
// Macro for function-exporting from DLL..
// from SDK dlls/cbase.h:
//! C functions for external declarations that call the appropriate C++ methods

// Windows uses "__declspec(dllexport)" to mark functions in the DLL that
// should be visible/callable externally.
//
// It also apparently requires WINAPI for GiveFnptrsToDll().
//
// See doc/notes_windows_coding for more information..

// Attributes to specify an "exported" function, visible from outside the
// DLL.
#undef DLLEXPORT
#ifdef _WIN32
		  #define DLLEXPORT __declspec(dllexport)
		  // WINAPI should be provided in the windows compiler headers.
		  // It's usually defined to something like "__stdcall".
#elif defined(linux)
		  #define DLLEXPORT /* */
		  #define WINAPI  /* */
#endif /* linux */
this?
__declspec(dllexport)
  
Reply With Quote