ffi
Here are 496 public repositories matching this topic...
Environment
- Pythonnet version: 2.3.0
- Python version: 2.7
- Operating System: Windows 10
Details
I have a C# class library which I use in Python. I have a Point class (a code snippet):
public Point(double x, double y)
{
this.x = x;
this.y = y;
}
public override string ToString()
{
return $"Point({x}, {y})";
}
-
Updated
Sep 7, 2020 - Python
🐛 Bug Report
Recently, related to LLVM Loader, I've seen that there's some warnings with strlen and strncpy which were not present on my version of GCC ( metacall/core#137 (comment) ). This warnings indicate that there can be an out of bounds error or similar, so it should be reviewed.
Expected Behavior
No warnings shown.
Current Behavior
Host API docs
-
Updated
Mar 25, 2021 - Rust
-
Updated
Apr 15, 2021 - PHP
-
Updated
May 19, 2021 - PHP
-
Updated
Mar 19, 2021 - Python
-
Updated
Mar 9, 2021 - Rust
-
Updated
Nov 24, 2019 - Haskell
Currently, a Haskell program that reports uncaught exceptions in stderr looks like this:
main :: IO ()
main = withJVM [] $ handle (showException >=> Text.hPutStrLn stderr) the_programThe call to handle is cheap enough that it should be made inside of withJVM, making the default behavior the more chatty. Thus, the same behavior could be achieved with
main :-
Updated
Mar 6, 2021 - Lua
-
Updated
Oct 19, 2020 - Python
Improve this page
Add a description, image, and links to the ffi topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the ffi topic, visit your repo's landing page and select "manage topics."
Just thinking that for the guide it would be nice to add a table to the
#[pyproto]section listing all the dunder methods that can be implemented and the protocols they are a part of (e.g.__int__->PyNumberProtocoletc.)