2
* Copyright (C) 2004-2012 See the AUTHORS file for details.
4
* This program is free software; you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License version 2 as published
6
* by the Free Software Foundation.
14
CPyRetString(CString& S) : s(S) {}
15
static PyObject* wrap(CString& S) {
16
CPyRetString* x = new CPyRetString(S);
17
return SWIG_NewInstanceObj(x, SWIG_TypeQuery("CPyRetString*"), SWIG_POINTER_OWN);
24
CPyRetBool(bool& B) : b(B) {}
25
static PyObject* wrap(bool& B) {
26
CPyRetBool* x = new CPyRetBool(B);
27
return SWIG_NewInstanceObj(x, SWIG_TypeQuery("CPyRetBool*"), SWIG_POINTER_OWN);