|
Message
From: cvs at opencores.org<cvs@o...>
Date: Mon Apr 28 22:40:40 CEST 2008
Subject: [cvs-checkins] MODIFIED: aemb ...
Date: 00/08/04 28:22:40 Modified: aemb/sw/cc simboard.hh Log: Made C compatible C++ code. Revision Changes Path 1.7 aemb/sw/cc/simboard.hh http://www.opencores.org/cvsweb.shtml/aemb/sw/cc/simboard.hh.diff?r1=1.6&r2=1.7 (In the diff below, changes in quantity of whitespace are not shown.) Index: simboard.hh =================================================================== RCS file: /cvsroot/sybreon/aemb/sw/cc/simboard.hh,v retrieving revision 1.6 retrieving revision 1.7 diff -u -b -r1.6 -r1.7 --- simboard.hh 27 Apr 2008 16:35:16 -0000 1.6 +++ simboard.hh 28 Apr 2008 20:40:40 -0000 1.7 @@ -1,4 +1,4 @@ -/* $Id: simboard.hh,v 1.6 2008/04/27 16:35:16 sybreon Exp $ +/* $Id: simboard.hh,v 1.7 2008/04/28 20:40:40 sybreon Exp $ ** ** AEMB Function Verification C++ Testbench ** Copyright (C) 2004-2008 Shawn Tan <shawn.tan@a...> @@ -30,7 +30,7 @@ #define CODE_PASS 0xCAFEF00D #ifdef __cplusplus -using namespace aemb; +extern "C" { #endif /* @@ -47,10 +47,17 @@ return 0; } +#ifdef __cplusplus +} +#endif + #endif /* $Log: simboard.hh,v $ +Revision 1.7 2008/04/28 20:40:40 sybreon +Made C compatible C++ code. + Revision 1.6 2008/04/27 16:35:16 sybreon Minor code cleanup.
|
 |