Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Binding native library. How to bind #defines

$
0
0

Hello: I have a native static library with three header files. I was able to generate API definitions of the other two using the Sharpie, but this one stumped the tool and it stumps me. How can I map this to a C# definition?

define DEPRECATED attribute((deprecated))

define SuppressDeprecatedWarning(invocation) \

do { \
    _Pragma("clang diagnostic push") \
    _Pragma("clang diagnostic ignored \"-Wdeprecated-declarations\"") \
    invocation; \
    _Pragma("clang diagnostic pop") \
} while (0)

Anurag


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>