pylzma_compressfile.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * Python Bindings for LZMA
  3. *
  4. * Copyright (c) 2004-2006 by Joachim Bauch, mail@joachim-bauch.de
  5. * 7-Zip Copyright (C) 1999-2005 Igor Pavlov
  6. * LZMA SDK Copyright (C) 1999-2005 Igor Pavlov
  7. *
  8. * This library is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU Lesser General Public
  10. * License as published by the Free Software Foundation; either
  11. * version 2.1 of the License, or (at your option) any later version.
  12. *
  13. * This library is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. * Lesser General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU Lesser General Public
  19. * License along with this library; if not, write to the Free Software
  20. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  21. *
  22. * $Id: pylzma_compressfile.h 104 2006-01-08 18:17:14Z jojo $
  23. *
  24. */
  25. #ifndef ___PYLZMA_COMPRESSFILE__H___
  26. #define ___PYLZMA_COMPRESSFILE__H___
  27. #ifdef __cplusplus
  28. extern "C" {
  29. #endif
  30. extern PyTypeObject CCompressionFileObject_Type;
  31. #define CompressionFileObject_Check(v) ((v)->ob_type == &CCompressionFileObject_Type)
  32. #ifdef __cplusplus
  33. }
  34. #endif
  35. #endif