Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / mgr / PyOSDMap.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
3
4 #pragma once
5
6 #include <string>
7
8 #include "Python.h"
9
10
11
12 extern PyTypeObject BasePyOSDMapType;
13 extern PyTypeObject BasePyOSDMapIncrementalType;
14 extern PyTypeObject BasePyCRUSHType;
15
16 PyObject *construct_with_capsule(
17     const std::string &module,
18     const std::string &clsname,
19     void *wrapped);
20