/[debian]/mimetic/branches/upstream/current/examples/mm.h
ViewVC logotype

Contents of /mimetic/branches/upstream/current/examples/mm.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 128 - (show annotations)
Sat Feb 25 16:49:20 2006 UTC (15 years, 5 months ago) by gregoa
File MIME type: text/plain
File size: 623 byte(s)
[svn-inject] Installing original source of mimetic
1 #ifndef _MM_H_
2 #define _MM_H_
3 #include <list>
4 #include <vector>
5 #include <iostream>
6 #include <string>
7
8 #define MM_VERSION "0.0.1"
9
10 #define DBG( s ) std::cerr << "[" << s << "]" << std::endl
11
12 #define usage() do { do_usage_if( 1 , __FILE__, __LINE__); } while(0);
13 #define usage_if(a) do { do_usage_if( a , __FILE__, __LINE__); } while(0);
14
15 #define die(msg) do { do_die_if( 1 , msg, __FILE__, __LINE__); } while(0);
16 #define die_if(a, msg) do { do_die_if( a , msg, __FILE__, __LINE__); } while(0);
17
18 void do_die_if(int, const std::string& , const std::string&, int );
19 void do_usage_if(int, const std::string&, int);
20
21 #endif

  ViewVC Help
Powered by ViewVC 1.1.26