Bonjour,
je suis en train de lire le source de ImageMagick et je suis tombé sur ce genre de déclarations :
Alors de ce que je comprend toutes les fonctions ci-desus sont extern et renvoient toutes le type "MagickBooleanType".
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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)));
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
Merci de m'avoir lu!![]()
Partager