Add is_available function to the C++ library.
libgrust/ChangeLog:
* libproc_macro/proc_macro.cc (bridge_is_available):
Add bridge function.
* libproc_macro/proc_macro.h (bridge_is_available):
Likewise.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
return {BANG, payload};
}
+extern "C" bool
+bridge_is_available ()
+{
+ return __gccrs_proc_macro_is_available_fn ();
+}
+
bool
not_available ()
{
bool
not_available ();
+extern "C" bool
+bridge_is_available ();
+
} // namespace ProcMacro
#endif /* ! PROC_MACRO_H */