The Wayback Machine - https://web.archive.org/web/20220605135112/https://github.com/topics/ffi
Skip to content
#

ffi

Here are 634 public repositories matching this topic...

InnovativeInventor
InnovativeInventor commented May 28, 2022

For some functions, I'd like to return a LinkedList. However, IntoPy is only implemented for Vec<T>, so I currently first convert to a Vec, then allow pyo3 to convert the Vec to a PyList. This seems a bit inefficient, if I'm properly understanding how the conversions happen under the hood. It seems like going directly from LinkedList to PyList would be more efficient. I am willing

core
viferga
viferga commented Jan 26, 2022

🐛 Bug Report

Since CMake 3.20, the write_compiler_detection_header has been deprecated ( https://cmake.org/cmake/help/latest/module/WriteCompilerDetectionHeader.html ). My recommendation is to completely remove it. It is being used in a lot of parts of the CMake code and it generates a lot of unnecessary boilerplate.

All the <module>_features.h should be removed from the project, instea

bug good first issue
samnm
samnm commented Jun 3, 2022

When using swift-bridge in a Swift package it is not possible to initialize a shared struct from Swift due to the default initializer being internal.

I believe the only solution for this is to generate an initializer so that we can explicitly mark it as public.

good first issue

Improve this page

Add a description, image, and links to the ffi topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ffi topic, visit your repo's landing page and select "manage topics."

Learn more