aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorFilipe Cabecinhas <me@filcab.net>2012-08-22 13:25:10 +0000
committerFilipe Cabecinhas <me@filcab.net>2012-08-22 13:25:10 +0000
commit6eb31e7391d27fc4a78122d45138e51eae9d6743 (patch)
treea3bd9bffdd8b1b3583607a0c101f70f1df71e63c /clang/lib/CodeGen/CodeGenModule.cpp
parentde17f866559c49c8f8317e42cfaf1468b59922ff (diff)
downloadllvm-6eb31e7391d27fc4a78122d45138e51eae9d6743.zip
llvm-6eb31e7391d27fc4a78122d45138e51eae9d6743.tar.gz
llvm-6eb31e7391d27fc4a78122d45138e51eae9d6743.tar.bz2
Added a typemap and wrappers for SBInputReader callbacks
Now it's possible to use SBInputReader callbacks in Python. We leak the callback object, unfortunately. A __del__ method can be added to SBInputReader, but we have no way to check the callback function that is on the reader. So we can't call Py_DECREF on it when we have our PythonCallback function. One way to do it is to assume that reified SBInputReaders always have a Python callback (and always call Py_DECREF). Another one is to add methods or properties to SBInputReader (or make the m_callback_function property public). llvm-svn: 162356
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions