summaryrefslogtreecommitdiffstats
path: root/src/mgr/PyOSDMap.h
blob: 2cc30dfe266691b77646d80850e2ae3ec86c9225 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#pragma once

#include <Python.h>

#include <string>

extern PyTypeObject BasePyOSDMapType;
extern PyTypeObject BasePyOSDMapIncrementalType;
extern PyTypeObject BasePyCRUSHType;

PyObject *construct_with_capsule(
    const std::string &module,
    const std::string &clsname,
    void *wrapped);