https://github.com/geodynamics/citcoms
Revision 83b32f9d7148e41d8dd964910ff8cc5a995d7f8f authored by Rajesh Kommu on 05 February 2014, 23:18:38 UTC, committed by Rajesh Kommu on 05 February 2014, 23:18:38 UTC
and Cookbook10 have been converted and the C versions of the config files are
located in the corresponding examples/Cookbook directory
1 parent 8fde56f
Raw File
Tip revision: 83b32f9d7148e41d8dd964910ff8cc5a995d7f8f authored by Rajesh Kommu on 05 February 2014, 23:18:38 UTC
Initial checkin of the Python to C config file conversion tool. Cookbooks 1-8,
Tip revision: 83b32f9
Py2CMain.cpp
#include "Py2C.hpp"

int main(int argc, char* argv[])
{
  if( argc != 3)
  {
    std::cerr << "Usage: Py2C infile outfile" << std::endl;
    exit(-1);
  }

  Py2CConverter py2c(argv[1], argv[2]);
  py2c.convert();
}
back to top