Permalink
Browse files

Add foward declaration of Parrot_confess. Fix debug c++ builds.

  • Loading branch information...
1 parent c4a9402 commit f5a2fedf4a514ea68db4834c279a83dfbfc3a2ed @bacek bacek committed Mar 6, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 include/parrot/api.h
View
@@ -17,6 +17,12 @@
typedef int (*imcc_hack_func_t)(Parrot_PMC, Parrot_String, int, const char **, Parrot_PMC*);
+/* Forward declaration of Parrot_confess. We can't include exceptions.h yet */
+void Parrot_confess(
+ ARGIN(const char *cond),
+ ARGIN(const char *file),
+ unsigned int line);
+
#define PARROT_API PARROT_EXPORT
/* having a modified version of PARROT_ASSERT which resolves as an integer

0 comments on commit f5a2fed

Please sign in to comment.