Basic build script.

Preprocessing fixes.
parent 194b9425
#! /bin/sh
echo "begin debug"
make distclean 1> /dev/null
./configure 1> /dev/null
make 1> /dev/null
echo "end debug"
echo "begin normal"
make distclean 1> /dev/null
./configure --disable-debug 1> /dev/null
make 1> /dev/null
echo "end normal"
......@@ -2,7 +2,7 @@
* module.h: Module management
*-------------------------------------------------------------------------------
* (c)1999-2001 VideoLAN
* $Id: module.h,v 1.2 2001/11/29 17:55:19 bozo Exp $
* $Id: module.h,v 1.3 2001/12/04 13:41:40 bozo Exp $
*
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
*
......@@ -100,7 +100,7 @@ public: \
{ \
}; \
\
virtual C_##ClassType##* New##ClassType##(arg val) = 0; \
virtual C_##ClassType * New##ClassType (arg val) = 0; \
};
......@@ -110,7 +110,7 @@ public: \
// Declares and implements a module.
//******************************************************************************
#define DECLARE_MODULE(ClassName, ClassType, strName, arg) \
class C_##ClassName####ClassType##Module : public C_##ClassType##Module \
class C_##ClassName##ClassType##Module : public C_##ClassType##Module \
{ \
public: \
C_##ClassName##ClassType##Module(handle hLog) : \
......@@ -118,12 +118,12 @@ public: \
{ \
}; \
\
virtual C_##ClassType## * New##ClassType##(arg val) \
virtual C_##ClassType * New##ClassType (arg val) \
{ \
LogDbg(m_hLog, "New instance of module \"" + m_strType + \
":" + m_strName + "\""); \
Ref(); \
return new C_##ClassName##ClassType## (this, val); \
return new C_##ClassName##ClassType (this, val); \
}; \
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment