Last change
on this file since 87 was
83,
checked in by rosiere, 16 years ago
|
Add component : Context_State (manage miss prediction, exception , decod_enable, synchronisation instruction ...)
|
-
Property svn:keywords set to
Id
|
File size:
553 bytes
|
Line | |
---|
1 | #ifndef MESSAGE_H |
---|
2 | #define MESSAGE_H |
---|
3 | /* |
---|
4 | * $Id: Message.h 83 2008-05-09 18:00:21Z rosiere $ |
---|
5 | * |
---|
6 | * [ Description ] |
---|
7 | * |
---|
8 | * Routine of Test |
---|
9 | */ |
---|
10 | |
---|
11 | #include <stdio.h> |
---|
12 | #include <string.h> |
---|
13 | #include "Translation.h" |
---|
14 | |
---|
15 | namespace morpheo { |
---|
16 | |
---|
17 | #define MSG_ERROR _("[ ERROR ]") |
---|
18 | #define MSG_WARNING _("[ WARNING ]") |
---|
19 | #define MSG_INFORMATION _("[INFORMATION]") |
---|
20 | |
---|
21 | #define msg(arg...) \ |
---|
22 | do \ |
---|
23 | { \ |
---|
24 | fprintf(stdout,arg); \ |
---|
25 | } while (0) |
---|
26 | |
---|
27 | #define err(arg...) \ |
---|
28 | do \ |
---|
29 | { \ |
---|
30 | fprintf(stderr,arg); \ |
---|
31 | } while (0) |
---|
32 | |
---|
33 | |
---|
34 | }; // end namespace morpheo |
---|
35 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.