winrt-runtime 3.0.0__tar.gz → 3.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {winrt_runtime-3.0.0 → winrt_runtime-3.1.0}/PKG-INFO +3 -3
- {winrt_runtime-3.0.0 → winrt_runtime-3.1.0}/_winrt.cpp +36 -2
- {winrt_runtime-3.0.0 → winrt_runtime-3.1.0}/pyproject.toml +2 -2
- winrt_runtime-3.1.0/pywinrt-version.txt +1 -0
- {winrt_runtime-3.0.0 → winrt_runtime-3.1.0}/src/winrt_runtime.egg-info/PKG-INFO +3 -3
- winrt_runtime-3.0.0/pywinrt-version.txt +0 -1
- {winrt_runtime-3.0.0 → winrt_runtime-3.1.0}/README.md +0 -0
- {winrt_runtime-3.0.0 → winrt_runtime-3.1.0}/_winrt_array.cpp +0 -0
- {winrt_runtime-3.0.0 → winrt_runtime-3.1.0}/_winrt_box.cpp +0 -0
- {winrt_runtime-3.0.0 → winrt_runtime-3.1.0}/requirements.txt +0 -0
- {winrt_runtime-3.0.0 → winrt_runtime-3.1.0}/runtime.cpp +0 -0
- {winrt_runtime-3.0.0 → winrt_runtime-3.1.0}/setup.cfg +0 -0
- {winrt_runtime-3.0.0 → winrt_runtime-3.1.0}/setup.py +0 -0
- {winrt_runtime-3.0.0 → winrt_runtime-3.1.0}/src/winrt/_winrt.pyi +0 -0
- {winrt_runtime-3.0.0 → winrt_runtime-3.1.0}/src/winrt/py.typed +0 -0
- {winrt_runtime-3.0.0 → winrt_runtime-3.1.0}/src/winrt/runtime/__init__.py +0 -0
- {winrt_runtime-3.0.0 → winrt_runtime-3.1.0}/src/winrt/runtime/interop.py +0 -0
- {winrt_runtime-3.0.0 → winrt_runtime-3.1.0}/src/winrt/system/__init__.py +0 -0
- {winrt_runtime-3.0.0 → winrt_runtime-3.1.0}/src/winrt_runtime.egg-info/SOURCES.txt +0 -0
- {winrt_runtime-3.0.0 → winrt_runtime-3.1.0}/src/winrt_runtime.egg-info/dependency_links.txt +0 -0
- {winrt_runtime-3.0.0 → winrt_runtime-3.1.0}/src/winrt_runtime.egg-info/requires.txt +0 -0
- {winrt_runtime-3.0.0 → winrt_runtime-3.1.0}/src/winrt_runtime.egg-info/top_level.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: winrt-runtime
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
-
License: MIT
|
|
5
|
+
License-Expression: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
7
|
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
#define PYWINRT_RUNTIME_MODULE
|
|
6
6
|
#include "pybase.h"
|
|
7
7
|
#include "pyruntime.h"
|
|
8
|
-
#include "_winrt_box.h"
|
|
9
8
|
#include <winrt/base.h>
|
|
10
9
|
|
|
11
10
|
namespace py::cpp::_winrt
|
|
@@ -608,7 +607,40 @@ namespace py::cpp::_winrt
|
|
|
608
607
|
std::destroy_at(&state->struct_from_tuple_cache);
|
|
609
608
|
}
|
|
610
609
|
|
|
611
|
-
|
|
610
|
+
// Not using a header file for thes because setuptools doesn't have a nice
|
|
611
|
+
// way to pick up private header files.
|
|
612
|
+
PyObject* box_boolean(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
613
|
+
PyObject* box_int8(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
614
|
+
PyObject* box_uint8(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
615
|
+
PyObject* box_int16(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
616
|
+
PyObject* box_uint16(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
617
|
+
PyObject* box_int32(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
618
|
+
PyObject* box_uint32(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
619
|
+
PyObject* box_int64(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
620
|
+
PyObject* box_uint64(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
621
|
+
PyObject* box_single(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
622
|
+
PyObject* box_double(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
623
|
+
PyObject* box_char16(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
624
|
+
PyObject* box_string(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
625
|
+
PyObject* box_guid(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
626
|
+
PyObject* box_date_time(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
627
|
+
PyObject* box_time_span(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
628
|
+
PyObject* unbox_boolean(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
629
|
+
PyObject* unbox_int8(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
630
|
+
PyObject* unbox_uint8(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
631
|
+
PyObject* unbox_int16(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
632
|
+
PyObject* unbox_uint16(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
633
|
+
PyObject* unbox_int32(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
634
|
+
PyObject* unbox_uint32(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
635
|
+
PyObject* unbox_int64(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
636
|
+
PyObject* unbox_uint64(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
637
|
+
PyObject* unbox_single(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
638
|
+
PyObject* unbox_double(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
639
|
+
PyObject* unbox_char16(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
640
|
+
PyObject* unbox_string(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
641
|
+
PyObject* unbox_guid(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
642
|
+
PyObject* unbox_date_time(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
643
|
+
PyObject* unbox_time_span(PyObject* /*unused*/, PyObject* obj) noexcept;
|
|
612
644
|
|
|
613
645
|
static PyMethodDef module_methods[]{
|
|
614
646
|
{"init_apartment", init_apartment, METH_O, "initialize the apartment"},
|
|
@@ -676,6 +708,8 @@ namespace py::cpp::_winrt
|
|
|
676
708
|
PyDoc_STR("Unbox a Windows.Foundation.TimeSpan value")},
|
|
677
709
|
{}};
|
|
678
710
|
|
|
711
|
+
PyDoc_STRVAR(module_doc, "_winrt");
|
|
712
|
+
|
|
679
713
|
static PyModuleDef module_def
|
|
680
714
|
= {PyModuleDef_HEAD_INIT,
|
|
681
715
|
"_winrt",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
2
|
|
|
3
3
|
[build-system]
|
|
4
|
-
requires = ["setuptools", "winrt-sdk"]
|
|
4
|
+
requires = ["setuptools>=78", "winrt-sdk"]
|
|
5
5
|
build-backend = "setuptools.build_meta"
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "winrt-runtime"
|
|
9
9
|
description = "Python projection of Windows Runtime (WinRT) APIs"
|
|
10
10
|
readme = "README.md"
|
|
11
|
-
license =
|
|
11
|
+
license = "MIT"
|
|
12
12
|
classifiers = [
|
|
13
13
|
"Operating System :: Microsoft :: Windows",
|
|
14
14
|
"Programming Language :: Python :: 3",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.1.0
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: winrt-runtime
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
-
License: MIT
|
|
5
|
+
License-Expression: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
7
|
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3.0.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|