aboutsummaryrefslogtreecommitdiffstats
path: root/libpyside/pysideweakref.h
blob: 7bc4ddfc055d72c9f49220610766817e49134af8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef __PYSIDEWEAKREF__
#define __PYSIDEWEAKREF__

#include <pysidemacros.h>
#include <Python.h>

typedef void (*PySideWeakRefFunction)(void* userData);

namespace PySide { namespace WeakRef {

PYSIDE_API PyObject* create(PyObject* ob, PySideWeakRefFunction func, void* userData);

} //PySide
} //WeakRef


#endif