зеркало из https://github.com/mozilla/gecko-dev.git
Fix for declaration of functions
This commit is contained in:
Родитель
b70f2dcb90
Коммит
930195d95c
|
@ -43,13 +43,13 @@ extern int MK_OUT_OF_MEMORY;
|
|||
MimeDefClass(MimeInlineTextCalendar, MimeInlineTextCalendarClass,
|
||||
mimeInlineTextCalendarClass, NULL);
|
||||
|
||||
PUBLIC char *
|
||||
extern "C" char *
|
||||
MIME_GetContentType(void)
|
||||
{
|
||||
return CAL_CONTENT_TYPE;
|
||||
}
|
||||
|
||||
PUBLIC MimeObjectClass *
|
||||
extern "C" MimeObjectClass *
|
||||
MIME_CreateContentTypeHandlerClass(const char *content_type,
|
||||
contentTypeHandlerInitStruct *initStruct)
|
||||
{
|
||||
|
|
|
@ -143,12 +143,14 @@ extern MimeMultipartSignedClass *MIME_GetmimeMultipartSignedClass(void);
|
|||
* MIME_GetContentType() is called by libmime to identify the content
|
||||
* type handled by this plugin.
|
||||
*/
|
||||
extern "C"
|
||||
char *MIME_GetContentType(void);
|
||||
|
||||
/*
|
||||
* This will create the MimeObjectClass object to be used by the libmime
|
||||
* object system.
|
||||
*/
|
||||
extern "C"
|
||||
MimeObjectClass *MIME_CreateContentTypeHandlerClass(const char *content_type,
|
||||
contentTypeHandlerInitStruct *initStruct);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче