Files
sousa-gecko/parser/htmlparser/robot/test/RobotMain.cpp
T
jevering e7c733993c Pulled the DebugRobot out into separate DLL
Moved the test code in the robot/test directory.
1998-05-14 01:05:56 +00:00

17 lines
342 B
C++

#include <stdio.h>
#include "nsVoidArray.h"
#include "nsString.h"
extern "C" NS_EXPORT int DebugRobot(nsVoidArray * workList);
int main(int argc, char **argv)
{
nsVoidArray * gWorkList = new nsVoidArray();
int i;
for (i = 1; i < argc; i++) {
gWorkList->AppendElement(new nsString(argv[i]));
}
return DebugRobot(gWorkList);
}