libpurple/plugins/perl/common/module.h

changeset 36031
9eb8f52893d0
parent 35989
2b5a26ddbb69
parent 36025
2897add11757
child 36308
4432aff3b90d
child 37145
8826f95514fd
equal deleted inserted replaced
36024:27580a47ae28 36031:9eb8f52893d0
79 /* Ewww. perl has it's own util.h which is in the include path :( */ 79 /* Ewww. perl has it's own util.h which is in the include path :( */
80 #include "libpurple/util.h" 80 #include "libpurple/util.h"
81 #include "whiteboard.h" 81 #include "whiteboard.h"
82 #include "xmlnode.h" 82 #include "xmlnode.h"
83 83
84 #ifdef __COVERITY__
85
86 /* avoid extra_comma false positives */
87 #undef SvPOK_only
88 #define SvPOK_only(sv) { \
89 SvFLAGS(sv) &= ~(SVf_OK | SVf_IVisUV | SVf_UTF8); \
90 SvFLAGS(sv) |= (SVf_POK | SVp_POK); \
91 }
92
93 #endif /* __COVERITY__ */
94
84 /* account.h */ 95 /* account.h */
85 typedef PurpleAccount * Purple__Account; 96 typedef PurpleAccount * Purple__Account;
86 typedef PurpleAccountOption * Purple__Account__Option; 97 typedef PurpleAccountOption * Purple__Account__Option;
87 typedef PurpleAccountUserSplit * Purple__Account__UserSplit; 98 typedef PurpleAccountUserSplit * Purple__Account__UserSplit;
88 typedef PurpleAccountPrivacyType Purple__Account__PrivacyType; 99 typedef PurpleAccountPrivacyType Purple__Account__PrivacyType;

mercurial