Mercurial > pidgin.yaz
view src/win_gaim.c @ 4819:815afc71c8e4
[gaim-migrate @ 5144]
On the one hand, rabbits not laying eggs is a conscious decision--it's not
that they can't, it's that they choose not to. But on the other hand,
the first hand makes no sense.
This should make reading ICQ info for people with non-ascii cruft not
crash Gaim and/or output ugly pango utf8 messages. I also make the ICQ
info strings internationalizationable.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 18 Mar 2003 05:52:22 +0000 |
parents | 70b892694e0b |
children | 5aeba37b303c |
line wrap: on
line source
/* * win_aim.c * * Author: Herman Bloggs <hermanator12002@yahoo.com> * Date: June, 2002 * Description: Entry point for win32 gaim, and various win32 dependant * routines. */ #include <windows.h> #include <stdlib.h> /* * GLOBALS */ __declspec(dllimport) HINSTANCE gaimexe_hInstance; /* * LOCALS */ /* * PROTOTYPES */ extern int gaim_main( int, char** ); #ifdef __GNUC__ # ifndef _stdcall # define _stdcall __attribute__((stdcall)) # endif #endif int _stdcall WinMain (struct HINSTANCE__ *hInstance, struct HINSTANCE__ *hPrevInstance, char *lpszCmdLine, int nCmdShow) { gaimexe_hInstance = hInstance; return gaim_main (__argc, __argv); }