view Modules/ccpython.cc @ 13163:a09e8635534d legacy-trunk

Don't try to guess the name of a .def file -- if one is supplied, use it, otherwise just generate an '/export:' option.
author Greg Ward <gward@python.net>
date Thu, 29 Jun 2000 23:09:20 +0000
parents 57aa277d7a00
children
line wrap: on
line source

/* Minimal main program -- everything is loaded from the library */

#include "Python.h"

extern "C"
DL_EXPORT(int) Py_Main( int argc, char *argv[] );

int main( int argc, char *argv[] )
{
	return Py_Main(argc, argv);
}