enetBind 1.0.4__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.
- enetbind-1.0.4/.gitignore +79 -0
- enetbind-1.0.4/.gitlab-ci.yml +26 -0
- enetbind-1.0.4/.gitmodules +7 -0
- enetbind-1.0.4/CMakeLists.txt +22 -0
- enetbind-1.0.4/PKG-INFO +27 -0
- enetbind-1.0.4/README.md +18 -0
- enetbind-1.0.4/external/enet/.git +1 -0
- enetbind-1.0.4/external/enet/.github/workflows/cmake.yml +21 -0
- enetbind-1.0.4/external/enet/.gitignore +70 -0
- enetbind-1.0.4/external/enet/CMakeLists.txt +119 -0
- enetbind-1.0.4/external/enet/ChangeLog +209 -0
- enetbind-1.0.4/external/enet/Doxyfile +2303 -0
- enetbind-1.0.4/external/enet/DoxygenLayout.xml +191 -0
- enetbind-1.0.4/external/enet/LICENSE +7 -0
- enetbind-1.0.4/external/enet/Makefile.am +22 -0
- enetbind-1.0.4/external/enet/README +15 -0
- enetbind-1.0.4/external/enet/callbacks.c +53 -0
- enetbind-1.0.4/external/enet/compress.c +654 -0
- enetbind-1.0.4/external/enet/configure.ac +29 -0
- enetbind-1.0.4/external/enet/docs/FAQ.dox +24 -0
- enetbind-1.0.4/external/enet/docs/design.dox +126 -0
- enetbind-1.0.4/external/enet/docs/install.dox +63 -0
- enetbind-1.0.4/external/enet/docs/license.dox +26 -0
- enetbind-1.0.4/external/enet/docs/mainpage.dox +59 -0
- enetbind-1.0.4/external/enet/docs/tutorial.dox +366 -0
- enetbind-1.0.4/external/enet/enet.dsp +168 -0
- enetbind-1.0.4/external/enet/enet_dll.cbp +86 -0
- enetbind-1.0.4/external/enet/host.c +503 -0
- enetbind-1.0.4/external/enet/include/enet/callbacks.h +37 -0
- enetbind-1.0.4/external/enet/include/enet/enet.h +615 -0
- enetbind-1.0.4/external/enet/include/enet/list.h +52 -0
- enetbind-1.0.4/external/enet/include/enet/protocol.h +198 -0
- enetbind-1.0.4/external/enet/include/enet/time.h +18 -0
- enetbind-1.0.4/external/enet/include/enet/types.h +13 -0
- enetbind-1.0.4/external/enet/include/enet/unix.h +48 -0
- enetbind-1.0.4/external/enet/include/enet/utility.h +23 -0
- enetbind-1.0.4/external/enet/include/enet/win32.h +63 -0
- enetbind-1.0.4/external/enet/libenet.pc.in +10 -0
- enetbind-1.0.4/external/enet/list.c +75 -0
- enetbind-1.0.4/external/enet/m4/.keep +0 -0
- enetbind-1.0.4/external/enet/packet.c +163 -0
- enetbind-1.0.4/external/enet/peer.c +1030 -0
- enetbind-1.0.4/external/enet/premake4.lua +59 -0
- enetbind-1.0.4/external/enet/protocol.c +1921 -0
- enetbind-1.0.4/external/enet/unix.c +630 -0
- enetbind-1.0.4/external/enet/win32.c +455 -0
- enetbind-1.0.4/external/pybind11/.appveyor.yml +35 -0
- enetbind-1.0.4/external/pybind11/.clang-format +38 -0
- enetbind-1.0.4/external/pybind11/.clang-tidy +83 -0
- enetbind-1.0.4/external/pybind11/.cmake-format.yaml +73 -0
- enetbind-1.0.4/external/pybind11/.codespell-ignore-lines +36 -0
- enetbind-1.0.4/external/pybind11/.git +1 -0
- enetbind-1.0.4/external/pybind11/.gitattributes +1 -0
- enetbind-1.0.4/external/pybind11/.github/CODEOWNERS +9 -0
- enetbind-1.0.4/external/pybind11/.github/CONTRIBUTING.md +349 -0
- enetbind-1.0.4/external/pybind11/.github/ISSUE_TEMPLATE/bug-report.yml +61 -0
- enetbind-1.0.4/external/pybind11/.github/ISSUE_TEMPLATE/config.yml +8 -0
- enetbind-1.0.4/external/pybind11/.github/dependabot.yml +11 -0
- enetbind-1.0.4/external/pybind11/.github/labeler.yml +13 -0
- enetbind-1.0.4/external/pybind11/.github/labeler_merged.yml +8 -0
- enetbind-1.0.4/external/pybind11/.github/matchers/pylint.json +32 -0
- enetbind-1.0.4/external/pybind11/.github/pull_request_template.md +15 -0
- enetbind-1.0.4/external/pybind11/.github/workflows/ci.yml +1369 -0
- enetbind-1.0.4/external/pybind11/.github/workflows/configure.yml +85 -0
- enetbind-1.0.4/external/pybind11/.github/workflows/docs-link.yml +41 -0
- enetbind-1.0.4/external/pybind11/.github/workflows/format.yml +54 -0
- enetbind-1.0.4/external/pybind11/.github/workflows/labeler.yml +25 -0
- enetbind-1.0.4/external/pybind11/.github/workflows/nightlies.yml +59 -0
- enetbind-1.0.4/external/pybind11/.github/workflows/pip.yml +118 -0
- enetbind-1.0.4/external/pybind11/.github/workflows/reusable-standard.yml +98 -0
- enetbind-1.0.4/external/pybind11/.github/workflows/tests-cibw.yml +77 -0
- enetbind-1.0.4/external/pybind11/.github/workflows/upstream.yml +118 -0
- enetbind-1.0.4/external/pybind11/.gitignore +54 -0
- enetbind-1.0.4/external/pybind11/.pre-commit-config.yaml +158 -0
- enetbind-1.0.4/external/pybind11/.readthedocs.yml +20 -0
- enetbind-1.0.4/external/pybind11/CMakeLists.txt +425 -0
- enetbind-1.0.4/external/pybind11/CMakePresets.json +93 -0
- enetbind-1.0.4/external/pybind11/LICENSE +29 -0
- enetbind-1.0.4/external/pybind11/README.rst +215 -0
- enetbind-1.0.4/external/pybind11/SECURITY.md +13 -0
- enetbind-1.0.4/external/pybind11/docs/Doxyfile +21 -0
- enetbind-1.0.4/external/pybind11/docs/Makefile +192 -0
- enetbind-1.0.4/external/pybind11/docs/_static/css/custom.css +3 -0
- enetbind-1.0.4/external/pybind11/docs/advanced/cast/chrono.rst +81 -0
- enetbind-1.0.4/external/pybind11/docs/advanced/cast/custom.rst +137 -0
- enetbind-1.0.4/external/pybind11/docs/advanced/cast/eigen.rst +310 -0
- enetbind-1.0.4/external/pybind11/docs/advanced/cast/functional.rst +109 -0
- enetbind-1.0.4/external/pybind11/docs/advanced/cast/index.rst +43 -0
- enetbind-1.0.4/external/pybind11/docs/advanced/cast/overview.rst +170 -0
- enetbind-1.0.4/external/pybind11/docs/advanced/cast/stl.rst +249 -0
- enetbind-1.0.4/external/pybind11/docs/advanced/cast/strings.rst +296 -0
- enetbind-1.0.4/external/pybind11/docs/advanced/classes.rst +1432 -0
- enetbind-1.0.4/external/pybind11/docs/advanced/deadlock.md +391 -0
- enetbind-1.0.4/external/pybind11/docs/advanced/deprecated.rst +179 -0
- enetbind-1.0.4/external/pybind11/docs/advanced/embedding.rst +499 -0
- enetbind-1.0.4/external/pybind11/docs/advanced/exceptions.rst +422 -0
- enetbind-1.0.4/external/pybind11/docs/advanced/functions.rst +616 -0
- enetbind-1.0.4/external/pybind11/docs/advanced/misc.rst +615 -0
- enetbind-1.0.4/external/pybind11/docs/advanced/pycpp/index.rst +13 -0
- enetbind-1.0.4/external/pybind11/docs/advanced/pycpp/numpy.rst +493 -0
- enetbind-1.0.4/external/pybind11/docs/advanced/pycpp/object.rst +286 -0
- enetbind-1.0.4/external/pybind11/docs/advanced/pycpp/utilities.rst +155 -0
- enetbind-1.0.4/external/pybind11/docs/advanced/smart_ptrs.rst +179 -0
- enetbind-1.0.4/external/pybind11/docs/basics.rst +316 -0
- enetbind-1.0.4/external/pybind11/docs/benchmark.py +89 -0
- enetbind-1.0.4/external/pybind11/docs/benchmark.rst +95 -0
- enetbind-1.0.4/external/pybind11/docs/changelog.md +3488 -0
- enetbind-1.0.4/external/pybind11/docs/classes.rst +652 -0
- enetbind-1.0.4/external/pybind11/docs/cmake/index.rst +8 -0
- enetbind-1.0.4/external/pybind11/docs/compiling.rst +731 -0
- enetbind-1.0.4/external/pybind11/docs/conf.py +369 -0
- enetbind-1.0.4/external/pybind11/docs/faq.rst +351 -0
- enetbind-1.0.4/external/pybind11/docs/index.rst +49 -0
- enetbind-1.0.4/external/pybind11/docs/installing.rst +105 -0
- enetbind-1.0.4/external/pybind11/docs/limitations.rst +68 -0
- enetbind-1.0.4/external/pybind11/docs/pybind11-logo.png +0 -0
- enetbind-1.0.4/external/pybind11/docs/pybind11_vs_boost_python1.png +0 -0
- enetbind-1.0.4/external/pybind11/docs/pybind11_vs_boost_python1.svg +427 -0
- enetbind-1.0.4/external/pybind11/docs/pybind11_vs_boost_python2.png +0 -0
- enetbind-1.0.4/external/pybind11/docs/pybind11_vs_boost_python2.svg +427 -0
- enetbind-1.0.4/external/pybind11/docs/reference.rst +130 -0
- enetbind-1.0.4/external/pybind11/docs/release.rst +135 -0
- enetbind-1.0.4/external/pybind11/docs/requirements.in +7 -0
- enetbind-1.0.4/external/pybind11/docs/requirements.txt +87 -0
- enetbind-1.0.4/external/pybind11/docs/upgrade.rst +748 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/attr.h +730 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/buffer_info.h +209 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/cast.h +2446 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/chrono.h +227 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/common.h +2 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/complex.h +93 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/conduit/README.txt +15 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/conduit/pybind11_conduit_v1.h +116 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/conduit/pybind11_platform_abi_id.h +87 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/conduit/wrap_include_python_h.h +72 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/critical_section.h +56 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/detail/argument_vector.h +417 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/detail/class.h +850 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/detail/common.h +1427 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/detail/cpp_conduit.h +75 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/detail/descr.h +226 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/detail/dynamic_raw_ptr_cast_if_possible.h +39 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/detail/exception_translation.h +71 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/detail/function_record_pyobject.h +192 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/detail/holder_caster_foreign_helpers.h +104 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/detail/init.h +548 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/detail/internals.h +1082 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/detail/native_enum_data.h +227 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/detail/pybind11_namespace_macros.h +82 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/detail/struct_smart_holder.h +398 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/detail/type_caster_base.h +1723 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/detail/typeid.h +65 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/detail/using_smart_holder.h +22 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/detail/value_and_holder.h +92 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/eigen/common.h +9 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/eigen/matrix.h +723 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/eigen/tensor.h +520 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/eigen.h +12 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/embed.h +320 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/eval.h +161 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/functional.h +147 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/gil.h +203 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/gil_safe_call_once.h +273 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/gil_simple.h +37 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/iostream.h +301 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/native_enum.h +76 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/numpy.h +2412 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/operators.h +202 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/options.h +92 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/pybind11.h +3962 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/pytypes.h +2736 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/stl/filesystem.h +114 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/stl.h +666 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/stl_bind.h +858 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/subinterpreter.h +291 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/trampoline_self_life_support.h +65 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/type_caster_pyobject_ptr.h +61 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/typing.h +295 -0
- enetbind-1.0.4/external/pybind11/include/pybind11/warnings.h +75 -0
- enetbind-1.0.4/external/pybind11/noxfile.py +151 -0
- enetbind-1.0.4/external/pybind11/pybind11/__init__.py +19 -0
- enetbind-1.0.4/external/pybind11/pybind11/__main__.py +97 -0
- enetbind-1.0.4/external/pybind11/pybind11/_version.py +34 -0
- enetbind-1.0.4/external/pybind11/pybind11/commands.py +39 -0
- enetbind-1.0.4/external/pybind11/pybind11/py.typed +0 -0
- enetbind-1.0.4/external/pybind11/pybind11/setup_helpers.py +500 -0
- enetbind-1.0.4/external/pybind11/pyproject.toml +215 -0
- enetbind-1.0.4/external/pybind11/tests/CMakeLists.txt +694 -0
- enetbind-1.0.4/external/pybind11/tests/conftest.py +313 -0
- enetbind-1.0.4/external/pybind11/tests/constructor_stats.h +330 -0
- enetbind-1.0.4/external/pybind11/tests/cross_module_gil_utils.cpp +111 -0
- enetbind-1.0.4/external/pybind11/tests/cross_module_interleaved_error_already_set.cpp +54 -0
- enetbind-1.0.4/external/pybind11/tests/custom_exceptions.py +10 -0
- enetbind-1.0.4/external/pybind11/tests/eigen_tensor_avoid_stl_array.cpp +16 -0
- enetbind-1.0.4/external/pybind11/tests/env.py +76 -0
- enetbind-1.0.4/external/pybind11/tests/exo_planet_c_api.cpp +76 -0
- enetbind-1.0.4/external/pybind11/tests/exo_planet_pybind11.cpp +19 -0
- enetbind-1.0.4/external/pybind11/tests/extra_python_package/pytest.ini +0 -0
- enetbind-1.0.4/external/pybind11/tests/extra_python_package/test_files.py +385 -0
- enetbind-1.0.4/external/pybind11/tests/extra_setuptools/pytest.ini +0 -0
- enetbind-1.0.4/external/pybind11/tests/extra_setuptools/test_setuphelper.py +153 -0
- enetbind-1.0.4/external/pybind11/tests/home_planet_very_lonely_traveler.cpp +13 -0
- enetbind-1.0.4/external/pybind11/tests/local_bindings.h +93 -0
- enetbind-1.0.4/external/pybind11/tests/mod_per_interpreter_gil.cpp +20 -0
- enetbind-1.0.4/external/pybind11/tests/mod_per_interpreter_gil_with_singleton.cpp +147 -0
- enetbind-1.0.4/external/pybind11/tests/mod_shared_interpreter_gil.cpp +17 -0
- enetbind-1.0.4/external/pybind11/tests/object.h +205 -0
- enetbind-1.0.4/external/pybind11/tests/pure_cpp/CMakeLists.txt +22 -0
- enetbind-1.0.4/external/pybind11/tests/pure_cpp/smart_holder_poc.h +56 -0
- enetbind-1.0.4/external/pybind11/tests/pure_cpp/smart_holder_poc_test.cpp +427 -0
- enetbind-1.0.4/external/pybind11/tests/pybind11_cross_module_tests.cpp +163 -0
- enetbind-1.0.4/external/pybind11/tests/pybind11_tests.cpp +141 -0
- enetbind-1.0.4/external/pybind11/tests/pybind11_tests.h +119 -0
- enetbind-1.0.4/external/pybind11/tests/pyproject.toml +40 -0
- enetbind-1.0.4/external/pybind11/tests/pytest.ini +22 -0
- enetbind-1.0.4/external/pybind11/tests/requirements.txt +20 -0
- enetbind-1.0.4/external/pybind11/tests/standalone_enum_module.cpp +13 -0
- enetbind-1.0.4/external/pybind11/tests/test_async.cpp +25 -0
- enetbind-1.0.4/external/pybind11/tests/test_async.py +31 -0
- enetbind-1.0.4/external/pybind11/tests/test_buffers.cpp +571 -0
- enetbind-1.0.4/external/pybind11/tests/test_buffers.py +471 -0
- enetbind-1.0.4/external/pybind11/tests/test_builtin_casters.cpp +393 -0
- enetbind-1.0.4/external/pybind11/tests/test_builtin_casters.py +624 -0
- enetbind-1.0.4/external/pybind11/tests/test_call_policies.cpp +113 -0
- enetbind-1.0.4/external/pybind11/tests/test_call_policies.py +256 -0
- enetbind-1.0.4/external/pybind11/tests/test_callbacks.cpp +302 -0
- enetbind-1.0.4/external/pybind11/tests/test_callbacks.py +248 -0
- enetbind-1.0.4/external/pybind11/tests/test_chrono.cpp +81 -0
- enetbind-1.0.4/external/pybind11/tests/test_chrono.py +207 -0
- enetbind-1.0.4/external/pybind11/tests/test_class.cpp +700 -0
- enetbind-1.0.4/external/pybind11/tests/test_class.py +575 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_cross_module_use_after_one_module_dealloc.cpp +23 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_cross_module_use_after_one_module_dealloc.py +43 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_release_gil_before_calling_cpp_dtor.cpp +54 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_release_gil_before_calling_cpp_dtor.py +21 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_basic.cpp +248 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_basic.py +248 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_disowning.cpp +41 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_disowning.py +78 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_disowning_mi.cpp +85 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_disowning_mi.py +246 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_factory_constructors.cpp +156 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_factory_constructors.py +53 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_inheritance.cpp +90 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_inheritance.py +63 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_mi_thunks.cpp +230 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_mi_thunks.py +104 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_property.cpp +129 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_property.py +218 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_property_non_owning.cpp +65 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_property_non_owning.py +30 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_shared_ptr_copy_move.cpp +103 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_shared_ptr_copy_move.py +41 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_trampoline_basic.cpp +57 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_trampoline_basic.py +35 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_trampoline_self_life_support.cpp +86 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_trampoline_self_life_support.py +38 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_trampoline_shared_from_this.cpp +137 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_trampoline_shared_from_this.py +247 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_trampoline_shared_ptr_cpp_arg.cpp +92 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_trampoline_shared_ptr_cpp_arg.py +154 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_trampoline_unique_ptr.cpp +63 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_trampoline_unique_ptr.py +31 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_unique_ptr_custom_deleter.cpp +30 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_unique_ptr_custom_deleter.py +8 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_unique_ptr_member.cpp +50 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_unique_ptr_member.py +26 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_virtual_py_cpp_mix.cpp +58 -0
- enetbind-1.0.4/external/pybind11/tests/test_class_sh_virtual_py_cpp_mix.py +66 -0
- enetbind-1.0.4/external/pybind11/tests/test_cmake_build/CMakeLists.txt +91 -0
- enetbind-1.0.4/external/pybind11/tests/test_cmake_build/embed.cpp +23 -0
- enetbind-1.0.4/external/pybind11/tests/test_cmake_build/installed_embed/CMakeLists.txt +19 -0
- enetbind-1.0.4/external/pybind11/tests/test_cmake_build/installed_function/CMakeLists.txt +29 -0
- enetbind-1.0.4/external/pybind11/tests/test_cmake_build/installed_target/CMakeLists.txt +37 -0
- enetbind-1.0.4/external/pybind11/tests/test_cmake_build/main.cpp +6 -0
- enetbind-1.0.4/external/pybind11/tests/test_cmake_build/subdirectory_embed/CMakeLists.txt +38 -0
- enetbind-1.0.4/external/pybind11/tests/test_cmake_build/subdirectory_function/CMakeLists.txt +32 -0
- enetbind-1.0.4/external/pybind11/tests/test_cmake_build/subdirectory_target/CMakeLists.txt +38 -0
- enetbind-1.0.4/external/pybind11/tests/test_cmake_build/test.py +10 -0
- enetbind-1.0.4/external/pybind11/tests/test_const_name.cpp +55 -0
- enetbind-1.0.4/external/pybind11/tests/test_const_name.py +31 -0
- enetbind-1.0.4/external/pybind11/tests/test_constants_and_functions.cpp +158 -0
- enetbind-1.0.4/external/pybind11/tests/test_constants_and_functions.py +58 -0
- enetbind-1.0.4/external/pybind11/tests/test_copy_move.cpp +546 -0
- enetbind-1.0.4/external/pybind11/tests/test_copy_move.py +144 -0
- enetbind-1.0.4/external/pybind11/tests/test_cpp_conduit.cpp +22 -0
- enetbind-1.0.4/external/pybind11/tests/test_cpp_conduit.py +183 -0
- enetbind-1.0.4/external/pybind11/tests/test_cpp_conduit_traveler_bindings.h +47 -0
- enetbind-1.0.4/external/pybind11/tests/test_cpp_conduit_traveler_types.h +25 -0
- enetbind-1.0.4/external/pybind11/tests/test_cross_module_rtti/CMakeLists.txt +70 -0
- enetbind-1.0.4/external/pybind11/tests/test_cross_module_rtti/bindings.cpp +20 -0
- enetbind-1.0.4/external/pybind11/tests/test_cross_module_rtti/catch.cpp +22 -0
- enetbind-1.0.4/external/pybind11/tests/test_cross_module_rtti/lib.cpp +13 -0
- enetbind-1.0.4/external/pybind11/tests/test_cross_module_rtti/lib.h +31 -0
- enetbind-1.0.4/external/pybind11/tests/test_cross_module_rtti/test_cross_module_rtti.cpp +50 -0
- enetbind-1.0.4/external/pybind11/tests/test_custom_type_casters.cpp +217 -0
- enetbind-1.0.4/external/pybind11/tests/test_custom_type_casters.py +126 -0
- enetbind-1.0.4/external/pybind11/tests/test_custom_type_setup.cpp +104 -0
- enetbind-1.0.4/external/pybind11/tests/test_custom_type_setup.py +79 -0
- enetbind-1.0.4/external/pybind11/tests/test_docs_advanced_cast_custom.cpp +69 -0
- enetbind-1.0.4/external/pybind11/tests/test_docs_advanced_cast_custom.py +40 -0
- enetbind-1.0.4/external/pybind11/tests/test_docstring_options.cpp +129 -0
- enetbind-1.0.4/external/pybind11/tests/test_docstring_options.py +72 -0
- enetbind-1.0.4/external/pybind11/tests/test_eigen_matrix.cpp +448 -0
- enetbind-1.0.4/external/pybind11/tests/test_eigen_matrix.py +839 -0
- enetbind-1.0.4/external/pybind11/tests/test_eigen_tensor.cpp +18 -0
- enetbind-1.0.4/external/pybind11/tests/test_eigen_tensor.inl +338 -0
- enetbind-1.0.4/external/pybind11/tests/test_eigen_tensor.py +316 -0
- enetbind-1.0.4/external/pybind11/tests/test_enum.cpp +149 -0
- enetbind-1.0.4/external/pybind11/tests/test_enum.py +344 -0
- enetbind-1.0.4/external/pybind11/tests/test_eval.cpp +118 -0
- enetbind-1.0.4/external/pybind11/tests/test_eval.py +52 -0
- enetbind-1.0.4/external/pybind11/tests/test_eval_call.py +5 -0
- enetbind-1.0.4/external/pybind11/tests/test_exceptions.cpp +427 -0
- enetbind-1.0.4/external/pybind11/tests/test_exceptions.h +13 -0
- enetbind-1.0.4/external/pybind11/tests/test_exceptions.py +439 -0
- enetbind-1.0.4/external/pybind11/tests/test_factory_constructors.cpp +434 -0
- enetbind-1.0.4/external/pybind11/tests/test_factory_constructors.py +531 -0
- enetbind-1.0.4/external/pybind11/tests/test_gil_scoped.cpp +144 -0
- enetbind-1.0.4/external/pybind11/tests/test_gil_scoped.py +294 -0
- enetbind-1.0.4/external/pybind11/tests/test_iostream.cpp +162 -0
- enetbind-1.0.4/external/pybind11/tests/test_iostream.py +329 -0
- enetbind-1.0.4/external/pybind11/tests/test_kwargs_and_defaults.cpp +331 -0
- enetbind-1.0.4/external/pybind11/tests/test_kwargs_and_defaults.py +473 -0
- enetbind-1.0.4/external/pybind11/tests/test_local_bindings.cpp +131 -0
- enetbind-1.0.4/external/pybind11/tests/test_local_bindings.py +291 -0
- enetbind-1.0.4/external/pybind11/tests/test_methods_and_attributes.cpp +788 -0
- enetbind-1.0.4/external/pybind11/tests/test_methods_and_attributes.py +715 -0
- enetbind-1.0.4/external/pybind11/tests/test_modules.cpp +124 -0
- enetbind-1.0.4/external/pybind11/tests/test_modules.py +146 -0
- enetbind-1.0.4/external/pybind11/tests/test_multiple_inheritance.cpp +341 -0
- enetbind-1.0.4/external/pybind11/tests/test_multiple_inheritance.py +500 -0
- enetbind-1.0.4/external/pybind11/tests/test_multiple_interpreters.py +437 -0
- enetbind-1.0.4/external/pybind11/tests/test_native_enum.cpp +262 -0
- enetbind-1.0.4/external/pybind11/tests/test_native_enum.py +377 -0
- enetbind-1.0.4/external/pybind11/tests/test_numpy_array.cpp +616 -0
- enetbind-1.0.4/external/pybind11/tests/test_numpy_array.py +749 -0
- enetbind-1.0.4/external/pybind11/tests/test_numpy_dtypes.cpp +745 -0
- enetbind-1.0.4/external/pybind11/tests/test_numpy_dtypes.py +464 -0
- enetbind-1.0.4/external/pybind11/tests/test_numpy_scalars.cpp +63 -0
- enetbind-1.0.4/external/pybind11/tests/test_numpy_scalars.py +54 -0
- enetbind-1.0.4/external/pybind11/tests/test_numpy_vectorize.cpp +137 -0
- enetbind-1.0.4/external/pybind11/tests/test_numpy_vectorize.py +319 -0
- enetbind-1.0.4/external/pybind11/tests/test_opaque_types.cpp +77 -0
- enetbind-1.0.4/external/pybind11/tests/test_opaque_types.py +64 -0
- enetbind-1.0.4/external/pybind11/tests/test_operator_overloading.cpp +281 -0
- enetbind-1.0.4/external/pybind11/tests/test_operator_overloading.py +161 -0
- enetbind-1.0.4/external/pybind11/tests/test_pickling.cpp +191 -0
- enetbind-1.0.4/external/pybind11/tests/test_pickling.py +149 -0
- enetbind-1.0.4/external/pybind11/tests/test_potentially_slicing_weak_ptr.cpp +170 -0
- enetbind-1.0.4/external/pybind11/tests/test_potentially_slicing_weak_ptr.py +174 -0
- enetbind-1.0.4/external/pybind11/tests/test_python_multiple_inheritance.cpp +45 -0
- enetbind-1.0.4/external/pybind11/tests/test_python_multiple_inheritance.py +36 -0
- enetbind-1.0.4/external/pybind11/tests/test_pytorch_shared_ptr_cast_regression.cpp +62 -0
- enetbind-1.0.4/external/pybind11/tests/test_pytorch_shared_ptr_cast_regression.py +25 -0
- enetbind-1.0.4/external/pybind11/tests/test_pytypes.cpp +1215 -0
- enetbind-1.0.4/external/pybind11/tests/test_pytypes.py +1374 -0
- enetbind-1.0.4/external/pybind11/tests/test_scoped_critical_section.cpp +274 -0
- enetbind-1.0.4/external/pybind11/tests/test_scoped_critical_section.py +30 -0
- enetbind-1.0.4/external/pybind11/tests/test_sequences_and_iterators.cpp +600 -0
- enetbind-1.0.4/external/pybind11/tests/test_sequences_and_iterators.py +307 -0
- enetbind-1.0.4/external/pybind11/tests/test_smart_ptr.cpp +627 -0
- enetbind-1.0.4/external/pybind11/tests/test_smart_ptr.py +370 -0
- enetbind-1.0.4/external/pybind11/tests/test_standalone_enum_module.py +18 -0
- enetbind-1.0.4/external/pybind11/tests/test_stl.cpp +667 -0
- enetbind-1.0.4/external/pybind11/tests/test_stl.py +735 -0
- enetbind-1.0.4/external/pybind11/tests/test_stl_binders.cpp +275 -0
- enetbind-1.0.4/external/pybind11/tests/test_stl_binders.py +414 -0
- enetbind-1.0.4/external/pybind11/tests/test_tagbased_polymorphic.cpp +150 -0
- enetbind-1.0.4/external/pybind11/tests/test_tagbased_polymorphic.py +30 -0
- enetbind-1.0.4/external/pybind11/tests/test_thread.cpp +108 -0
- enetbind-1.0.4/external/pybind11/tests/test_thread.py +80 -0
- enetbind-1.0.4/external/pybind11/tests/test_type_caster_pyobject_ptr.cpp +168 -0
- enetbind-1.0.4/external/pybind11/tests/test_type_caster_pyobject_ptr.py +125 -0
- enetbind-1.0.4/external/pybind11/tests/test_type_caster_std_function_specializations.cpp +46 -0
- enetbind-1.0.4/external/pybind11/tests/test_type_caster_std_function_specializations.py +15 -0
- enetbind-1.0.4/external/pybind11/tests/test_union.cpp +22 -0
- enetbind-1.0.4/external/pybind11/tests/test_union.py +10 -0
- enetbind-1.0.4/external/pybind11/tests/test_unnamed_namespace_a.cpp +37 -0
- enetbind-1.0.4/external/pybind11/tests/test_unnamed_namespace_a.py +33 -0
- enetbind-1.0.4/external/pybind11/tests/test_unnamed_namespace_b.cpp +13 -0
- enetbind-1.0.4/external/pybind11/tests/test_unnamed_namespace_b.py +7 -0
- enetbind-1.0.4/external/pybind11/tests/test_vector_unique_ptr_member.cpp +54 -0
- enetbind-1.0.4/external/pybind11/tests/test_vector_unique_ptr_member.py +16 -0
- enetbind-1.0.4/external/pybind11/tests/test_virtual_functions.cpp +591 -0
- enetbind-1.0.4/external/pybind11/tests/test_virtual_functions.py +468 -0
- enetbind-1.0.4/external/pybind11/tests/test_warnings.cpp +46 -0
- enetbind-1.0.4/external/pybind11/tests/test_warnings.py +68 -0
- enetbind-1.0.4/external/pybind11/tests/test_with_catch/CMakeLists.txt +64 -0
- enetbind-1.0.4/external/pybind11/tests/test_with_catch/catch.cpp +175 -0
- enetbind-1.0.4/external/pybind11/tests/test_with_catch/catch_skip.h +21 -0
- enetbind-1.0.4/external/pybind11/tests/test_with_catch/external_module.cpp +39 -0
- enetbind-1.0.4/external/pybind11/tests/test_with_catch/test_args_convert_vector.cpp +80 -0
- enetbind-1.0.4/external/pybind11/tests/test_with_catch/test_argument_vector.cpp +94 -0
- enetbind-1.0.4/external/pybind11/tests/test_with_catch/test_interpreter.cpp +511 -0
- enetbind-1.0.4/external/pybind11/tests/test_with_catch/test_interpreter.py +16 -0
- enetbind-1.0.4/external/pybind11/tests/test_with_catch/test_subinterpreter.cpp +579 -0
- enetbind-1.0.4/external/pybind11/tests/test_with_catch/test_trampoline.py +18 -0
- enetbind-1.0.4/external/pybind11/tests/valgrind-numpy-scipy.supp +140 -0
- enetbind-1.0.4/external/pybind11/tests/valgrind-python.supp +117 -0
- enetbind-1.0.4/external/pybind11/tools/FindCatch.cmake +74 -0
- enetbind-1.0.4/external/pybind11/tools/FindEigen3.cmake +86 -0
- enetbind-1.0.4/external/pybind11/tools/FindPythonLibsNew.cmake +320 -0
- enetbind-1.0.4/external/pybind11/tools/JoinPaths.cmake +23 -0
- enetbind-1.0.4/external/pybind11/tools/check-style.sh +44 -0
- enetbind-1.0.4/external/pybind11/tools/cmake_uninstall.cmake.in +23 -0
- enetbind-1.0.4/external/pybind11/tools/codespell_ignore_lines_from_errors.py +40 -0
- enetbind-1.0.4/external/pybind11/tools/libsize.py +38 -0
- enetbind-1.0.4/external/pybind11/tools/make_changelog.py +121 -0
- enetbind-1.0.4/external/pybind11/tools/make_global.py +33 -0
- enetbind-1.0.4/external/pybind11/tools/pybind11.pc.in +7 -0
- enetbind-1.0.4/external/pybind11/tools/pybind11Common.cmake +458 -0
- enetbind-1.0.4/external/pybind11/tools/pybind11Config.cmake.in +240 -0
- enetbind-1.0.4/external/pybind11/tools/pybind11GuessPythonExtSuffix.cmake +94 -0
- enetbind-1.0.4/external/pybind11/tools/pybind11NewTools.cmake +339 -0
- enetbind-1.0.4/external/pybind11/tools/pybind11Tools.cmake +217 -0
- enetbind-1.0.4/external/pybind11/tools/test-pybind11GuessPythonExtSuffix.cmake +185 -0
- enetbind-1.0.4/pyproject.toml +30 -0
- enetbind-1.0.4/src/main.cpp +55 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# Prerequisites
|
|
2
|
+
*.d
|
|
3
|
+
|
|
4
|
+
# Compiled Object files
|
|
5
|
+
*.slo
|
|
6
|
+
*.lo
|
|
7
|
+
*.o
|
|
8
|
+
*.obj
|
|
9
|
+
|
|
10
|
+
# Precompiled Headers
|
|
11
|
+
*.gch
|
|
12
|
+
*.pch
|
|
13
|
+
|
|
14
|
+
# Linker files
|
|
15
|
+
*.ilk
|
|
16
|
+
|
|
17
|
+
# Debugger Files
|
|
18
|
+
*.pdb
|
|
19
|
+
|
|
20
|
+
# Compiled Dynamic libraries
|
|
21
|
+
*.so
|
|
22
|
+
*.dylib
|
|
23
|
+
*.dll
|
|
24
|
+
*.so.*
|
|
25
|
+
|
|
26
|
+
# Fortran module files
|
|
27
|
+
*.mod
|
|
28
|
+
*.smod
|
|
29
|
+
|
|
30
|
+
# Compiled Static libraries
|
|
31
|
+
*.lai
|
|
32
|
+
*.la
|
|
33
|
+
*.a
|
|
34
|
+
*.lib
|
|
35
|
+
|
|
36
|
+
# Executables
|
|
37
|
+
*.exe
|
|
38
|
+
*.out
|
|
39
|
+
*.app
|
|
40
|
+
|
|
41
|
+
# Build directories
|
|
42
|
+
build/
|
|
43
|
+
Build/
|
|
44
|
+
build-*/
|
|
45
|
+
|
|
46
|
+
# CMake generated files
|
|
47
|
+
CMakeFiles/
|
|
48
|
+
CMakeCache.txt
|
|
49
|
+
cmake_install.cmake
|
|
50
|
+
Makefile
|
|
51
|
+
install_manifest.txt
|
|
52
|
+
compile_commands.json
|
|
53
|
+
|
|
54
|
+
# Temporary files
|
|
55
|
+
*.tmp
|
|
56
|
+
*.log
|
|
57
|
+
*.bak
|
|
58
|
+
*.swp
|
|
59
|
+
|
|
60
|
+
# vcpkg
|
|
61
|
+
vcpkg_installed/
|
|
62
|
+
|
|
63
|
+
# debug information files
|
|
64
|
+
*.dwo
|
|
65
|
+
|
|
66
|
+
# test output & cache
|
|
67
|
+
Testing/
|
|
68
|
+
.cache/
|
|
69
|
+
|
|
70
|
+
# Editors
|
|
71
|
+
.vscode
|
|
72
|
+
.idea
|
|
73
|
+
|
|
74
|
+
# MacOS
|
|
75
|
+
.DS_Store
|
|
76
|
+
|
|
77
|
+
# Python
|
|
78
|
+
.venv
|
|
79
|
+
.dist
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
stages:
|
|
2
|
+
- publish
|
|
3
|
+
|
|
4
|
+
variables:
|
|
5
|
+
GIT_SUBMODULE_STRATEGY: recursive
|
|
6
|
+
|
|
7
|
+
publish:
|
|
8
|
+
stage: publish
|
|
9
|
+
|
|
10
|
+
image: python:3.12
|
|
11
|
+
|
|
12
|
+
id_tokens:
|
|
13
|
+
PYPI_ID_TOKEN:
|
|
14
|
+
aud: pypi
|
|
15
|
+
|
|
16
|
+
rules:
|
|
17
|
+
- if: $CI_COMMIT_TAG
|
|
18
|
+
|
|
19
|
+
script:
|
|
20
|
+
- pip install --upgrade pip
|
|
21
|
+
- pip install build twine
|
|
22
|
+
- git submodule update --init --recursive
|
|
23
|
+
- python -m build --sdist
|
|
24
|
+
- ls -lah dist
|
|
25
|
+
- twine check dist/*
|
|
26
|
+
- twine upload --verbose dist/*
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
cmake_minimum_required(VERSION 3.15)
|
|
2
|
+
|
|
3
|
+
project(enetBind LANGUAGES CXX)
|
|
4
|
+
|
|
5
|
+
set(CMAKE_CXX_STANDARD 17)
|
|
6
|
+
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
|
7
|
+
|
|
8
|
+
add_subdirectory(external/pybind11)
|
|
9
|
+
add_subdirectory(external/enet)
|
|
10
|
+
|
|
11
|
+
pybind11_add_module(enetBind
|
|
12
|
+
src/main.cpp
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
target_link_libraries(enetBind PRIVATE enet)
|
|
16
|
+
target_include_directories(enetBind PRIVATE ${CMAKE_SOURCE_DIR}/external/enet/include)
|
|
17
|
+
|
|
18
|
+
install(TARGETS enetBind
|
|
19
|
+
LIBRARY DESTINATION enetBindPy
|
|
20
|
+
RUNTIME DESTINATION enetBindPy
|
|
21
|
+
ARCHIVE DESTINATION enetBindPy
|
|
22
|
+
)
|
enetbind-1.0.4/PKG-INFO
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: enetBind
|
|
3
|
+
Version: 1.0.4
|
|
4
|
+
Summary: Python bindings for ENet
|
|
5
|
+
Author: Larbe-dev
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Requires-Python: >=3.11
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
|
|
10
|
+
## Enet-py
|
|
11
|
+
|
|
12
|
+
## Description
|
|
13
|
+
Python bindings for the popular networking library enet
|
|
14
|
+
|
|
15
|
+
## Installation
|
|
16
|
+
The packet is available on pypi.
|
|
17
|
+
|
|
18
|
+
`pip install enet-py`
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
TBA
|
|
22
|
+
|
|
23
|
+
## Support
|
|
24
|
+
If you have any issues with enet-py then open a issue here on git.
|
|
25
|
+
|
|
26
|
+
## Authors and acknowledgment
|
|
27
|
+
[enet](https://github.com/lsalzman/enet)
|
enetbind-1.0.4/README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
## Enet-py
|
|
2
|
+
|
|
3
|
+
## Description
|
|
4
|
+
Python bindings for the popular networking library enet
|
|
5
|
+
|
|
6
|
+
## Installation
|
|
7
|
+
The packet is available on pypi.
|
|
8
|
+
|
|
9
|
+
`pip install enet-py`
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
TBA
|
|
13
|
+
|
|
14
|
+
## Support
|
|
15
|
+
If you have any issues with enet-py then open a issue here on git.
|
|
16
|
+
|
|
17
|
+
## Authors and acknowledgment
|
|
18
|
+
[enet](https://github.com/lsalzman/enet)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
gitdir: ../../.git/modules/external/enet
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
on: [push, pull_request]
|
|
2
|
+
|
|
3
|
+
name: CMake
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
cmake-build:
|
|
7
|
+
name: CMake ${{ matrix.os }} ${{ matrix.build_type }}
|
|
8
|
+
runs-on: ${{ matrix.os }}
|
|
9
|
+
strategy:
|
|
10
|
+
fail-fast: false
|
|
11
|
+
matrix:
|
|
12
|
+
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
|
|
13
|
+
build_type: ["Debug", "Release"]
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v3
|
|
16
|
+
|
|
17
|
+
- name: Configure CMake
|
|
18
|
+
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
|
|
19
|
+
|
|
20
|
+
- name: Build
|
|
21
|
+
run: cmake --build ${{github.workspace}}/build --config ${{ matrix.build_type }}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# Potential build directories
|
|
2
|
+
[Aa][Rr][Mm]/
|
|
3
|
+
[Aa][Rr][Mm]64/
|
|
4
|
+
[Bb]in/
|
|
5
|
+
[Dd]ebug/
|
|
6
|
+
[Dd]ebugPublic/
|
|
7
|
+
[Ll]og/
|
|
8
|
+
[Ll]ogs/
|
|
9
|
+
[Oo]bj/
|
|
10
|
+
[Rr]elease/
|
|
11
|
+
[Rr]eleases/
|
|
12
|
+
[Ww][Ii][Nn]32/
|
|
13
|
+
bld/
|
|
14
|
+
build/
|
|
15
|
+
builds/
|
|
16
|
+
out/
|
|
17
|
+
x64/
|
|
18
|
+
x86/
|
|
19
|
+
|
|
20
|
+
# VS
|
|
21
|
+
.vs/
|
|
22
|
+
.vscode/
|
|
23
|
+
!.vscode/extensions.json
|
|
24
|
+
!.vscode/launch.json
|
|
25
|
+
!.vscode/settings.json
|
|
26
|
+
!.vscode/tasks.json
|
|
27
|
+
|
|
28
|
+
# CMake
|
|
29
|
+
_deps
|
|
30
|
+
CMakeCache.txt
|
|
31
|
+
CMakeFiles
|
|
32
|
+
CMakeLists.txt.user
|
|
33
|
+
CMakeScripts
|
|
34
|
+
CMakeUserPresets.json
|
|
35
|
+
CTestTestfile.cmake
|
|
36
|
+
cmake_install.cmake
|
|
37
|
+
compile_commands.json
|
|
38
|
+
install_manifest.txt
|
|
39
|
+
|
|
40
|
+
# Prerequisites
|
|
41
|
+
*.d
|
|
42
|
+
|
|
43
|
+
# Object files
|
|
44
|
+
*.o
|
|
45
|
+
*.ko
|
|
46
|
+
*.obj
|
|
47
|
+
*.elf
|
|
48
|
+
|
|
49
|
+
# Linker output
|
|
50
|
+
*.ilk
|
|
51
|
+
*.map
|
|
52
|
+
*.exp
|
|
53
|
+
|
|
54
|
+
# Libraries
|
|
55
|
+
*.lib
|
|
56
|
+
*.a
|
|
57
|
+
*.la
|
|
58
|
+
*.lo
|
|
59
|
+
|
|
60
|
+
# Shared objects
|
|
61
|
+
*.dll
|
|
62
|
+
*.so
|
|
63
|
+
*.so.*
|
|
64
|
+
*.dylib
|
|
65
|
+
|
|
66
|
+
# Debug files
|
|
67
|
+
*.dSYM/
|
|
68
|
+
*.su
|
|
69
|
+
*.idb
|
|
70
|
+
*.pdb
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
cmake_minimum_required(VERSION 2.8.12...3.20)
|
|
2
|
+
|
|
3
|
+
project(enet)
|
|
4
|
+
|
|
5
|
+
# The "configure" step.
|
|
6
|
+
include(CheckFunctionExists)
|
|
7
|
+
include(CheckStructHasMember)
|
|
8
|
+
include(CheckTypeSize)
|
|
9
|
+
check_function_exists("fcntl" HAS_FCNTL)
|
|
10
|
+
check_function_exists("poll" HAS_POLL)
|
|
11
|
+
check_function_exists("getaddrinfo" HAS_GETADDRINFO)
|
|
12
|
+
check_function_exists("getnameinfo" HAS_GETNAMEINFO)
|
|
13
|
+
check_function_exists("gethostbyname_r" HAS_GETHOSTBYNAME_R)
|
|
14
|
+
check_function_exists("gethostbyaddr_r" HAS_GETHOSTBYADDR_R)
|
|
15
|
+
check_function_exists("inet_pton" HAS_INET_PTON)
|
|
16
|
+
check_function_exists("inet_ntop" HAS_INET_NTOP)
|
|
17
|
+
check_c_source_compiles("
|
|
18
|
+
#include <stddef.h>
|
|
19
|
+
struct S { int a; double b; };
|
|
20
|
+
int main() {
|
|
21
|
+
return (int)offsetof(struct S, b);
|
|
22
|
+
}
|
|
23
|
+
" HAS_OFFSETOF)
|
|
24
|
+
check_struct_has_member("struct msghdr" "msg_flags" "sys/types.h;sys/socket.h" HAS_MSGHDR_FLAGS)
|
|
25
|
+
set(CMAKE_EXTRA_INCLUDE_FILES "sys/types.h" "sys/socket.h")
|
|
26
|
+
check_type_size("socklen_t" HAS_SOCKLEN_T BUILTIN_TYPES_ONLY)
|
|
27
|
+
unset(CMAKE_EXTRA_INCLUDE_FILES)
|
|
28
|
+
if(MSVC)
|
|
29
|
+
add_definitions(-W3)
|
|
30
|
+
else()
|
|
31
|
+
add_definitions(-Wno-error)
|
|
32
|
+
endif()
|
|
33
|
+
|
|
34
|
+
if(HAS_FCNTL)
|
|
35
|
+
add_definitions(-DHAS_FCNTL=1)
|
|
36
|
+
endif()
|
|
37
|
+
if(HAS_POLL)
|
|
38
|
+
add_definitions(-DHAS_POLL=1)
|
|
39
|
+
endif()
|
|
40
|
+
if(HAS_GETNAMEINFO)
|
|
41
|
+
add_definitions(-DHAS_GETNAMEINFO=1)
|
|
42
|
+
endif()
|
|
43
|
+
if(HAS_GETADDRINFO)
|
|
44
|
+
add_definitions(-DHAS_GETADDRINFO=1)
|
|
45
|
+
endif()
|
|
46
|
+
if(HAS_GETHOSTBYNAME_R)
|
|
47
|
+
add_definitions(-DHAS_GETHOSTBYNAME_R=1)
|
|
48
|
+
endif()
|
|
49
|
+
if(HAS_GETHOSTBYADDR_R)
|
|
50
|
+
add_definitions(-DHAS_GETHOSTBYADDR_R=1)
|
|
51
|
+
endif()
|
|
52
|
+
if(HAS_INET_PTON)
|
|
53
|
+
add_definitions(-DHAS_INET_PTON=1)
|
|
54
|
+
endif()
|
|
55
|
+
if(HAS_INET_NTOP)
|
|
56
|
+
add_definitions(-DHAS_INET_NTOP=1)
|
|
57
|
+
endif()
|
|
58
|
+
if(HAS_OFFSETOF)
|
|
59
|
+
add_definitions(-DHAS_OFFSETOF=1)
|
|
60
|
+
endif()
|
|
61
|
+
if(HAS_MSGHDR_FLAGS)
|
|
62
|
+
add_definitions(-DHAS_MSGHDR_FLAGS=1)
|
|
63
|
+
endif()
|
|
64
|
+
if(HAS_SOCKLEN_T)
|
|
65
|
+
add_definitions(-DHAS_SOCKLEN_T=1)
|
|
66
|
+
endif()
|
|
67
|
+
|
|
68
|
+
include_directories(${PROJECT_SOURCE_DIR}/include)
|
|
69
|
+
|
|
70
|
+
set(INCLUDE_FILES_PREFIX include/enet)
|
|
71
|
+
set(INCLUDE_FILES
|
|
72
|
+
${INCLUDE_FILES_PREFIX}/callbacks.h
|
|
73
|
+
${INCLUDE_FILES_PREFIX}/enet.h
|
|
74
|
+
${INCLUDE_FILES_PREFIX}/list.h
|
|
75
|
+
${INCLUDE_FILES_PREFIX}/protocol.h
|
|
76
|
+
${INCLUDE_FILES_PREFIX}/time.h
|
|
77
|
+
${INCLUDE_FILES_PREFIX}/types.h
|
|
78
|
+
${INCLUDE_FILES_PREFIX}/unix.h
|
|
79
|
+
${INCLUDE_FILES_PREFIX}/utility.h
|
|
80
|
+
${INCLUDE_FILES_PREFIX}/win32.h
|
|
81
|
+
)
|
|
82
|
+
|
|
83
|
+
set(SOURCE_FILES
|
|
84
|
+
callbacks.c
|
|
85
|
+
compress.c
|
|
86
|
+
host.c
|
|
87
|
+
list.c
|
|
88
|
+
packet.c
|
|
89
|
+
peer.c
|
|
90
|
+
protocol.c
|
|
91
|
+
unix.c
|
|
92
|
+
win32.c)
|
|
93
|
+
|
|
94
|
+
source_group(include FILES ${INCLUDE_FILES})
|
|
95
|
+
source_group(source FILES ${SOURCE_FILES})
|
|
96
|
+
|
|
97
|
+
if(WIN32 AND BUILD_SHARED_LIBS AND (MSVC OR CMAKE_CXX_COMPILER_ID MATCHES "Clang"))
|
|
98
|
+
add_definitions(-DENET_DLL=1)
|
|
99
|
+
add_definitions(-DENET_BUILDING_LIB)
|
|
100
|
+
endif()
|
|
101
|
+
|
|
102
|
+
add_library(enet
|
|
103
|
+
${INCLUDE_FILES}
|
|
104
|
+
${SOURCE_FILES}
|
|
105
|
+
)
|
|
106
|
+
|
|
107
|
+
if (WIN32)
|
|
108
|
+
target_link_libraries(enet winmm ws2_32)
|
|
109
|
+
endif()
|
|
110
|
+
|
|
111
|
+
include(GNUInstallDirs)
|
|
112
|
+
install(TARGETS enet
|
|
113
|
+
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
|
114
|
+
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
|
115
|
+
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
|
116
|
+
)
|
|
117
|
+
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/enet
|
|
118
|
+
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
|
119
|
+
)
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
ENet 1.3.18 (April 14, 2024):
|
|
2
|
+
|
|
3
|
+
* Packet sending performance improvements
|
|
4
|
+
* MTU negotiation fixes
|
|
5
|
+
* Checksum alignment fix
|
|
6
|
+
* No more dynamic initialization of checksum table
|
|
7
|
+
* ENET_SOCKOPT_TTL
|
|
8
|
+
* Other miscellaneous small improvements
|
|
9
|
+
|
|
10
|
+
ENet 1.3.17 (November 15, 2020):
|
|
11
|
+
|
|
12
|
+
* fixes for sender getting too far ahead of receiver that can cause instability with reliable packets
|
|
13
|
+
|
|
14
|
+
ENet 1.3.16 (September 8, 2020):
|
|
15
|
+
|
|
16
|
+
* fix bug in unreliable fragment queuing
|
|
17
|
+
* use single output queue for reliable and unreliable packets for saner ordering
|
|
18
|
+
* revert experimental throttle changes that were less stable than prior algorithm
|
|
19
|
+
|
|
20
|
+
ENet 1.3.15 (April 20, 2020):
|
|
21
|
+
|
|
22
|
+
* quicker RTT initialization
|
|
23
|
+
* use fractional precision for RTT calculations
|
|
24
|
+
* fixes for packet throttle with low RTT variance
|
|
25
|
+
* miscellaneous socket bug fixes
|
|
26
|
+
|
|
27
|
+
ENet 1.3.14 (January 27, 2019):
|
|
28
|
+
|
|
29
|
+
* bug fix for enet_peer_disconnect_later()
|
|
30
|
+
* use getaddrinfo and getnameinfo where available
|
|
31
|
+
* miscellaneous cleanups
|
|
32
|
+
|
|
33
|
+
ENet 1.3.13 (April 30, 2015):
|
|
34
|
+
|
|
35
|
+
* miscellaneous bug fixes
|
|
36
|
+
* added premake and cmake support
|
|
37
|
+
* miscellaneous documentation cleanups
|
|
38
|
+
|
|
39
|
+
ENet 1.3.12 (April 24, 2014):
|
|
40
|
+
|
|
41
|
+
* added maximumPacketSize and maximumWaitingData fields to ENetHost to limit the amount of
|
|
42
|
+
data waiting to be delivered on a peer (beware that the default maximumPacketSize is
|
|
43
|
+
32MB and should be set higher if desired as should maximumWaitingData)
|
|
44
|
+
|
|
45
|
+
ENet 1.3.11 (December 26, 2013):
|
|
46
|
+
|
|
47
|
+
* allow an ENetHost to connect to itself
|
|
48
|
+
* fixed possible bug with disconnect notifications during connect attempts
|
|
49
|
+
* fixed some preprocessor definition bugs
|
|
50
|
+
|
|
51
|
+
ENet 1.3.10 (October 23, 2013);
|
|
52
|
+
|
|
53
|
+
* doubled maximum reliable window size
|
|
54
|
+
* fixed RCVTIMEO/SNDTIMEO socket options and also added NODELAY
|
|
55
|
+
|
|
56
|
+
ENet 1.3.9 (August 19, 2013):
|
|
57
|
+
|
|
58
|
+
* added duplicatePeers option to ENetHost which can limit the number of peers from duplicate IPs
|
|
59
|
+
* added enet_socket_get_option() and ENET_SOCKOPT_ERROR
|
|
60
|
+
* added enet_host_random_seed() platform stub
|
|
61
|
+
|
|
62
|
+
ENet 1.3.8 (June 2, 2013):
|
|
63
|
+
|
|
64
|
+
* added enet_linked_version() for checking the linked version
|
|
65
|
+
* added enet_socket_get_address() for querying the local address of a socket
|
|
66
|
+
* silenced some debugging prints unless ENET_DEBUG is defined during compilation
|
|
67
|
+
* handle EINTR in enet_socket_wait() so that enet_host_service() doesn't propagate errors from signals
|
|
68
|
+
* optimized enet_host_bandwidth_throttle() to be less expensive for large numbers of peers
|
|
69
|
+
|
|
70
|
+
ENet 1.3.7 (March 6, 2013):
|
|
71
|
+
|
|
72
|
+
* added ENET_PACKET_FLAG_SENT to indicate that a packet is being freed because it has been sent
|
|
73
|
+
* added userData field to ENetPacket
|
|
74
|
+
* changed how random seed is generated on Windows to avoid import warnings
|
|
75
|
+
* fixed case where disconnects could be generated with no preceding connect event
|
|
76
|
+
|
|
77
|
+
ENet 1.3.6 (December 11, 2012):
|
|
78
|
+
|
|
79
|
+
* added support for intercept callback in ENetHost that can be used to process raw packets before ENet
|
|
80
|
+
* added enet_socket_shutdown() for issuing shutdown on a socket
|
|
81
|
+
* fixed enet_socket_connect() to not error on non-blocking connects
|
|
82
|
+
* fixed bug in MTU negotiation during connections
|
|
83
|
+
|
|
84
|
+
ENet 1.3.5 (July 31, 2012):
|
|
85
|
+
|
|
86
|
+
* fixed bug in unreliable packet fragment queuing
|
|
87
|
+
|
|
88
|
+
ENet 1.3.4 (May 29, 2012):
|
|
89
|
+
|
|
90
|
+
* added enet_peer_ping_interval() for configuring per-peer ping intervals
|
|
91
|
+
* added enet_peer_timeout() for configuring per-peer timeouts
|
|
92
|
+
* added protocol packet size limits
|
|
93
|
+
|
|
94
|
+
ENet 1.3.3 (June 28, 2011):
|
|
95
|
+
|
|
96
|
+
* fixed bug with simultaneous disconnects not dispatching events
|
|
97
|
+
|
|
98
|
+
ENet 1.3.2 (May 31, 2011):
|
|
99
|
+
|
|
100
|
+
* added support for unreliable packet fragmenting via the packet flag
|
|
101
|
+
ENET_PACKET_FLAG_UNRELIABLE_FRAGMENT
|
|
102
|
+
* fixed regression in unreliable packet queuing
|
|
103
|
+
* added check against received port to limit some forms of IP-spoofing
|
|
104
|
+
|
|
105
|
+
ENet 1.3.1 (February 10, 2011):
|
|
106
|
+
|
|
107
|
+
* fixed bug in tracking of reliable data in transit
|
|
108
|
+
* reliable data window size now scales with the throttle
|
|
109
|
+
* fixed bug in fragment length calculation when checksums are used
|
|
110
|
+
|
|
111
|
+
ENet 1.3.0 (June 5, 2010):
|
|
112
|
+
|
|
113
|
+
* enet_host_create() now requires the channel limit to be specified as
|
|
114
|
+
a parameter
|
|
115
|
+
* enet_host_connect() now accepts a data parameter which is supplied
|
|
116
|
+
to the receiving receiving host in the event data field for a connect event
|
|
117
|
+
* added an adaptive order-2 PPM range coder as a built-in compressor option
|
|
118
|
+
which can be set with enet_host_compress_with_range_coder()
|
|
119
|
+
* added support for packet compression configurable with a callback
|
|
120
|
+
* improved session number handling to not rely on the packet checksum
|
|
121
|
+
field, saving 4 bytes per packet unless the checksum option is used
|
|
122
|
+
* removed the dependence on the rand callback for session number handling
|
|
123
|
+
|
|
124
|
+
Caveats: This version is not protocol compatible with the 1.2 series or
|
|
125
|
+
earlier. The enet_host_connect and enet_host_create API functions require
|
|
126
|
+
supplying additional parameters.
|
|
127
|
+
|
|
128
|
+
ENet 1.2.5 (June 28, 2011):
|
|
129
|
+
|
|
130
|
+
* fixed bug with simultaneous disconnects not dispatching events
|
|
131
|
+
|
|
132
|
+
ENet 1.2.4 (May 31, 2011):
|
|
133
|
+
|
|
134
|
+
* fixed regression in unreliable packet queuing
|
|
135
|
+
* added check against received port to limit some forms of IP-spoofing
|
|
136
|
+
|
|
137
|
+
ENet 1.2.3 (February 10, 2011):
|
|
138
|
+
|
|
139
|
+
* fixed bug in tracking reliable data in transit
|
|
140
|
+
|
|
141
|
+
ENet 1.2.2 (June 5, 2010):
|
|
142
|
+
|
|
143
|
+
* checksum functionality is now enabled by setting a checksum callback
|
|
144
|
+
inside ENetHost instead of being a configure script option
|
|
145
|
+
* added totalSentData, totalSentPackets, totalReceivedData, and
|
|
146
|
+
totalReceivedPackets counters inside ENetHost for getting usage
|
|
147
|
+
statistics
|
|
148
|
+
* added enet_host_channel_limit() for limiting the maximum number of
|
|
149
|
+
channels allowed by connected peers
|
|
150
|
+
* now uses dispatch queues for event dispatch rather than potentially
|
|
151
|
+
unscalable array walking
|
|
152
|
+
* added no_memory callback that is called when a malloc attempt fails,
|
|
153
|
+
such that if no_memory returns rather than aborts (the default behavior),
|
|
154
|
+
then the error is propagated to the return value of the API calls
|
|
155
|
+
* now uses packed attribute for protocol structures on platforms with
|
|
156
|
+
strange alignment rules
|
|
157
|
+
* improved autoconf build system contributed by Nathan Brink allowing
|
|
158
|
+
for easier building as a shared library
|
|
159
|
+
|
|
160
|
+
Caveats: If you were using the compile-time option that enabled checksums,
|
|
161
|
+
make sure to set the checksum callback inside ENetHost to enet_crc32 to
|
|
162
|
+
regain the old behavior. The ENetCallbacks structure has added new fields,
|
|
163
|
+
so make sure to clear the structure to zero before use if
|
|
164
|
+
using enet_initialize_with_callbacks().
|
|
165
|
+
|
|
166
|
+
ENet 1.2.1 (November 12, 2009):
|
|
167
|
+
|
|
168
|
+
* fixed bug that could cause disconnect events to be dropped
|
|
169
|
+
* added thin wrapper around select() for portable usage
|
|
170
|
+
* added ENET_SOCKOPT_REUSEADDR socket option
|
|
171
|
+
* factored enet_socket_bind()/enet_socket_listen() out of enet_socket_create()
|
|
172
|
+
* added contributed Code::Blocks build file
|
|
173
|
+
|
|
174
|
+
ENet 1.2 (February 12, 2008):
|
|
175
|
+
|
|
176
|
+
* fixed bug in VERIFY_CONNECT acknowledgement that could cause connect
|
|
177
|
+
attempts to occasionally timeout
|
|
178
|
+
* fixed acknowledgements to check both the outgoing and sent queues
|
|
179
|
+
when removing acknowledged packets
|
|
180
|
+
* fixed accidental bit rot in the MSVC project file
|
|
181
|
+
* revised sequence number overflow handling to address some possible
|
|
182
|
+
disconnect bugs
|
|
183
|
+
* added enet_host_check_events() for getting only local queued events
|
|
184
|
+
* factored out socket option setting into enet_socket_set_option() so
|
|
185
|
+
that socket options are now set separately from enet_socket_create()
|
|
186
|
+
|
|
187
|
+
Caveats: While this release is superficially protocol compatible with 1.1,
|
|
188
|
+
differences in the sequence number overflow handling can potentially cause
|
|
189
|
+
random disconnects.
|
|
190
|
+
|
|
191
|
+
ENet 1.1 (June 6, 2007):
|
|
192
|
+
|
|
193
|
+
* optional CRC32 just in case someone needs a stronger checksum than UDP
|
|
194
|
+
provides (--enable-crc32 configure option)
|
|
195
|
+
* the size of packet headers are half the size they used to be (so less
|
|
196
|
+
overhead when sending small packets)
|
|
197
|
+
* enet_peer_disconnect_later() that waits till all queued outgoing
|
|
198
|
+
packets get sent before issuing an actual disconnect
|
|
199
|
+
* freeCallback field in individual packets for notification of when a
|
|
200
|
+
packet is about to be freed
|
|
201
|
+
* ENET_PACKET_FLAG_NO_ALLOCATE for supplying pre-allocated data to a
|
|
202
|
+
packet (can be used in concert with freeCallback to support some custom
|
|
203
|
+
allocation schemes that the normal memory allocation callbacks would
|
|
204
|
+
normally not allow)
|
|
205
|
+
* enet_address_get_host_ip() for printing address numbers
|
|
206
|
+
* promoted the enet_socket_*() functions to be part of the API now
|
|
207
|
+
* a few stability/crash fixes
|
|
208
|
+
|
|
209
|
+
|