From: Hannes Jakschitsch Date: Thu, 15 Jul 2004 14:04:38 +0000 (+0000) Subject: preprocessor directives added for cpluscplus compatibility X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=86cb77827c540673f87f766aa99e18e422a4a0cd;p=libfirm preprocessor directives added for cpluscplus compatibility [r3467] --- diff --git a/ir/common/firmwalk.h b/ir/common/firmwalk.h index 56ce8228a..3837849b8 100644 --- a/ir/common/firmwalk.h +++ b/ir/common/firmwalk.h @@ -36,6 +36,11 @@ #include "irgraph.h" #include "typewalk.h" +#ifdef __cplusplus +extern "C" { +#endif + + /** Returns the link of a firm node. * Possible firm structures are: entity, type, ir_graph, ir_node and * ir_mode. Otherwise this function has no effect @@ -205,4 +210,9 @@ void firm_walk(firm_walk_interface *wif); /** Finalize the walker and frees all stored data for dumping */ void firm_walk_finalize(void); +#ifdef __cplusplus +} +#endif + + #endif /* _FIRM_WALK_H_ */