make some class members temporaries since they don't need to persist

This commit is contained in:
Axel Kohlmeyer
2021-08-04 17:19:23 -04:00
parent 2e7b3081a1
commit 08a727d510
2 changed files with 10 additions and 17 deletions

View File

@ -35,9 +35,6 @@ class PythonImpl : protected Pointers, public PythonInterface {
bool has_minimum_version(int major, int minor);
private:
int ninput, noutput, length_longstr;
char **istr;
char *ostr, *format;
void *pyMain;
struct PyFunc {
@ -57,7 +54,7 @@ class PythonImpl : protected Pointers, public PythonInterface {
PyFunc *pfuncs;
int nfunc;
int create_entry(char *);
int create_entry(char *, int, int, int, char **, char *, char *);
void deallocate(int);
};