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

#pragma once

#include <string>

#include <Python.h>

#include "common/options.h"

PyObject *get_python_typed_option_value(
  Option::type_t type,
  const std::string& value);