Fix for declaration of functions

This commit is contained in:
mscott%netscape.com 1999-04-14 01:11:01 +00:00
Родитель b70f2dcb90
Коммит 930195d95c
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -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);