<commit_before>/* bzflag
 * Copyright (c) 1993 - 2005 <NAME>
 *
 * This package is free software;  you can redistribute it and/or
 * modify it under the terms of the license found in the file
 * named COPYING that should have accompanied this file.
 *
 * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 */

#include <Python.h>
#include "PyBZFlag.h"

namespace Python
{

static PyObject *SendTextMessage (PyObject *self, PyObject *args);

static struct PyMethodDef methods[] =
{
	{"SendTextMessage", SendTextMessage, METH_VARARGS, NULL},
};

BZFlag::BZFlag ()
{
	module = Py_InitModule3 ("BZFlag", methods, NULL);

}

static PyObject *
SendTextMessage (PyObject *self, PyObject *args)
{
}

};<commit_msg>stub out a couple more API functions<commit_after>/* bzflag
 * Copyright (c) 1993 - 2005 <NAME>
 *
 * This package is free software;  you can redistribute it and/or
 * modify it under the terms of the license found in the file
 * named COPYING that should have accompanied this file.
 *
 * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 */

#include <Python.h>
#include "PyBZFlag.h"

namespace Python
{

static PyObject *SendTextMessage (PyObject *self, PyObject *args);
static PyObject *FireWorldWeapon (PyObject *self, PyObject *args);
static PyObject *GetCurrentTime  (PyObject *self, PyObject *args);

static struct PyMethodDef methods[] =
{
	// FIXME - docstrings
	{"SendTextMessage", SendTextMessage, METH_VARARGS, NULL},
	{"FireWorldWeapon", FireWorldWeapon, METH_VARARGS, NULL},
	{"GetCurrentTime",  GetCurrentTime,  METH_NOARGS,  NULL},
};

BZFlag::BZFlag ()
{
	module = Py_InitModule3 ("BZFlag", methods, NULL);

}

static PyObject *
SendTextMessage (PyObject *self, PyObject *args)
{
	printf ("SendTextMessage ()\n");
}

static PyObject *
FireWorldWeapon (PyObject *self, PyObject *args)
{
	printf ("FireWorldWeapon ()\n");
}

static PyObject *
GetCurrentTime (PyObject *self, PyObject *args)
{
	printf ("GetCurrentTime ()\n");
}

};
{'fraction_non_alphanumeric': 0.10879218472468917, 'fraction_numerical': 0.007992895204262877, 'mean_word_length': 4.9603174603174605, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2459734', 'n_tokens_mistral': 694, 'n_tokens_neox': 697, 'n_words': 249}