URL
https://opencores.org/ocsvn/scarm/scarm/trunk
Subversion Repositories scarm
[/] [scarm/] [branches/] [release_0_1/] [src/] [scException.cpp] - Rev 2
Go to most recent revision | Compare with Previous | Blame | View Log
// scException.cpp: implementation of the scException class. // ////////////////////////////////////////////////////////////////////// #include "scException.h" #include<stdlib.h> #include <string.h> #define BASIC_ERROR "Unknown exception" ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////////////////////////////////////////////////////////// scException::scException() { m_strError = strdup(BASIC_ERROR); } scException::~scException() { free(m_strError); }
Go to most recent revision | Compare with Previous | Blame | View Log