Skip to content
#

ffi

Here are 385 public repositories matching this topic...

davidhewitt
davidhewitt commented Apr 13, 2020

A shared utility crate to locate python would help us in build.rs as well as other crates in the ecosystem. As first suggested on Gitter:

@gilescope:matrix.org Also I wonder if we could create a where’s wally crate but for python. There seems to be quite a few rust applications trying to find python. I think it would be great to centralise that problem in a single crate - E.g.: https://gith

ericjohannsen
ericjohannsen commented Apr 6, 2020

Environment

N/A

Details

This code:

Environment.SetEnvironmentVariable("PYTHONPATH", $"{pathToVirtualEnv}\\Lib\\site-packages;{pythonPath}\\Lib", EnvironmentVariableTarget.Process);

from the wiki references a variable pythonPath that isn't defined. Is that supposed to be `pathToV

pocesar
pocesar commented Jun 11, 2019

I'm trying to convert the C code for TaskScheduler COM to rust, and currently stuck with the VARIANT argument of ITaskService::Connect:

    //  Create an instance of the Task Service.
    let mut p_service: *mut ITaskService = unsafe { std::mem::zeroed() };

    let hr = unsafe {
      CoCreateInstance(
        &TaskScheduler::uuidof(),
        ptr::null_mut(),
        CLSCTX_IN
philtomson
philtomson commented Jun 28, 2018

was just watching the C++ Now presentation on Julia and C++ (https://www.youtube.com/watch?v=hvnxY3NjHQ4) and noticed in the section on Cxx.jl (around 48 minutes in) that there is a special assignment syntax in the REPL ":=" for assigning C++ results back to a Julia variable.

I don't see this documented anywhere here in the docs.

lisachenko
lisachenko commented Feb 12, 2020

This issue clarifies the usage of this library with other projects and describes terms of usage.

  • This library, provided under RPL license can be used for free for any open-source projects without any limitations while source code of these projects or libraries is also open-sourced.
  • For open-source libraries that are distributed under more permissive license types like MIT a
nlander
nlander commented Oct 16, 2018

The instructions in the README for running the example suggest that this command:

ghc MySampleGen.hs

can successfully build MySampleGen.hs, but this is false since MySampleGen.hs has import statements.
A quick look at build.sh reveals that ghc should actually be run with the -package-db flag. However, the script references a directory outside of the repository and there is no docu

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

You can’t perform that action at this time.