Extern : notion de complémentarité
Bonjour,
je suis en train de lire le source de ImageMagick et je suis tombé sur ce genre de déclarations :
Code:
1 2 3 4 5 6
| extern MagickExport MagickBooleanType
ThrowException(ExceptionInfo *,const ExceptionType,const char *, const char *),
ThrowMagickException(ExceptionInfo *,const char *,const char *, const unsigned long,const ExceptionType,const char *,const char *,...)
magick_attribute((format (printf,7,8))),
ThrowMagickExceptionList(ExceptionInfo *,const char *,const char *, const unsigned long,const ExceptionType,const char *,const char *,va_list)
magick_attribute((format (printf,7,0))); |
Alors de ce que je comprend toutes les fonctions ci-desus sont extern et renvoient toutes le type "MagickBooleanType".
Mais ce que je ne comprend pas c'est à quoi sert le "MagickExport"? A noter qu'il y a plusieurs déclarations semblable.
N'ayant trouvé que peut d'explications sur extern je me tourne vers vous :aie:
Merci de m'avoir lu!:mrgreen: