diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-11-15 13:31:55 +0100 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-11-15 13:31:55 +0100 |
commit | 2ea3594e12fe020ba372eb9e9b16d16988b5b9d1 (patch) | |
tree | 42000055a98c7b9a11893346f75593b34c860f42 /lib/Python/PyBindingGenerator.py | |
parent | b340a8edd68d9df1a3e5606b09af8f9c5bd169f0 (diff) | |
download | abrt-2ea3594e12fe020ba372eb9e9b16d16988b5b9d1.tar.gz abrt-2ea3594e12fe020ba372eb9e9b16d16988b5b9d1.tar.xz abrt-2ea3594e12fe020ba372eb9e9b16d16988b5b9d1.zip |
removed the rest of python abrtutils wrapper
Diffstat (limited to 'lib/Python/PyBindingGenerator.py')
-rw-r--r-- | lib/Python/PyBindingGenerator.py | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/lib/Python/PyBindingGenerator.py b/lib/Python/PyBindingGenerator.py deleted file mode 100644 index a2d62d59..00000000 --- a/lib/Python/PyBindingGenerator.py +++ /dev/null @@ -1,27 +0,0 @@ -from pybindgen import * -import sys -""" - void Open(const std::string& pDir); - void Create(const std::string& pDir); - void Delete(); - void Close(); - - bool Exist(const std::string& pFileName); - - void LoadText(const std::string& pName, std::string& pData); - void LoadBinary(const std::string& pName, char** pData, unsigned int* pSize); - - void SaveText(const std::string& pName, const std::string& pData); - void SaveBinary(const std::string& pName, const char* pData, const unsigned int pSize); - - void InitGetNextFile(); - bool GetNextFile(std::string& pFileName, std::string& pContent, bool& pIsTextFile); -""" -mod = Module('ABRTUtils') -mod.add_include('"../Utils/DebugDump.h"') -klass = mod.add_class('CDebugDump') -klass.add_constructor([]) -klass.add_method('Create', None, [param('char*', 'pFilename')]) -klass.add_method('Close', None, []) -klass.add_method('SaveText', None, [param('char*', 'pName'), param('char*', 'pData')]) -mod.generate(sys.stdout) |