blob: 1015a530ff0066700c4869f21ea7d42242a0007d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include "py_ptr.h"
#include "py_ctx.h"
namespace NPython {
extern PyTypeObject PyVoidType;
extern PyObject PyVoidObject;
TPyObjectPtr ToPyVoid(
const TPyCastContext::TPtr& ctx,
const NKikimr::NUdf::TType* type,
const NKikimr::NUdf::TUnboxedValuePod& value);
NKikimr::NUdf::TUnboxedValue FromPyVoid(
const TPyCastContext::TPtr& ctx,
const NKikimr::NUdf::TType* type,
PyObject* value);
} // namespace NPython
|