py_void.h 474 B

123456789101112131415161718192021
  1. #pragma once
  2. #include "py_ptr.h"
  3. #include "py_ctx.h"
  4. namespace NPython {
  5. extern PyTypeObject PyVoidType;
  6. extern PyObject PyVoidObject;
  7. TPyObjectPtr ToPyVoid(
  8. const TPyCastContext::TPtr& ctx,
  9. const NKikimr::NUdf::TType* type,
  10. const NKikimr::NUdf::TUnboxedValuePod& value);
  11. NKikimr::NUdf::TUnboxedValue FromPyVoid(
  12. const TPyCastContext::TPtr& ctx,
  13. const NKikimr::NUdf::TType* type,
  14. PyObject* value);
  15. } // namspace NPython