Add __nonnull to plugin SDK headers

Idea created by monkeybreadsoftware on Jan 25, 2017
    Active
    Score6
    • MiniSchmitz
    • David Julot
    • monkeybreadsoftware
    • jbante
    • mrwatson-gbs
    • Markus Schneider

    HI,

     

    using clang analyzer feature, it complains regularly about returning null references.

    This can be avoided by using __nonnull in declarations.

     

    e.g.

        fmx::QuadChar FMX_API * __nonnull FM_QuadChar_Constructor1 ( fmx::_fmxcpt &_x ) throw () ;

     

     

    Doing this would allow any plugin developer using Xcode to use the analyze feature and not get 100s of false messages about possible bugs.