Skip to content

Commit

Permalink
upadate: c++ namespaces no extern "C"
Browse files Browse the repository at this point in the history
  • Loading branch information
victorbesy committed Sep 12, 2021
1 parent eaf05eb commit 315aeed
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions utils/sc/src/shunt_tlm.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,16 @@
namespace shunt_tlm
{

extern "C" {

using namespace sc_core;
using namespace sc_dt;
using namespace std;
using namespace tlm;

#include "shunt_primitives.c"
#include "shunt_client_server.c"
#include "shunt_user_api.c"
}

using namespace sc_core;
using namespace sc_dt;
using namespace std;
using namespace tlm;


/*
TLM Enumerations:
enum tlm_sync_enum { TLM_ACCEPTED, TLM_UPDATED, TLM_COMPLETED }
Expand Down

0 comments on commit 315aeed

Please sign in to comment.