src/raytracermodule.cc
branchpyrit
changeset 99 f3abdaa2e8fb
parent 98 64638385798a
equal deleted inserted replaced
98:64638385798a 99:f3abdaa2e8fb
  1643 		METH_VARARGS, "Raytracer object constructor."},
  1643 		METH_VARARGS, "Raytracer object constructor."},
  1644 	{NULL, NULL}
  1644 	{NULL, NULL}
  1645 };
  1645 };
  1646 
  1646 
  1647 
  1647 
  1648 extern "C" void initpyrit(void)
  1648 PyMODINIT_FUNC initpyrit(void)
  1649 {
  1649 {
  1650 	PyObject* m;
  1650 	PyObject* m;
  1651 
  1651 
  1652 	if (PyType_Ready(&RaytracerType) < 0
  1652 	if (PyType_Ready(&RaytracerType) < 0
  1653 	|| PyType_Ready(&LightType) < 0
  1653 	|| PyType_Ready(&LightType) < 0