FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Uni 55420 build multi platform dll by vkovec · Pull Request #2 · Unity-Technologies/pythonnet · GitHub

Repository navigation

Uni 55420 build multi platform dll - #2

Merged
vkovec merged 6 commits into
masterfrom
UNI-55420-build-multi-platform-dll
Aug 10, 2018
Merged

vkovec merged 6 commits into
masterfrom
UNI-55420-build-multi-platform-dll

Conversation

vkovec commented Aug 7, 2018

Copy link
Copy Markdown

What does this implement/fix? Explain your changes.

build dll that works on multiple platforms. Requires rename of python .dylib on mac from libpython2.7.dylib to libpython27.dylib
...

Does this close any currently open issues?

...

Any other comments?

...

Checklist

Check all those that are applicable and complete.

  • Make sure to include one or more tests for your change
  • If an enhancement PR, please create docs and at best an example
  • Add yourself to AUTHORS
  • Updated the CHANGELOG

vkovec self-assigned this Aug 7, 2018
vkovec requested a review from benoithudson August 7, 2018 18:41
- easier to check which OS we are on
vkovec requested a review from lassond August 9, 2018 17:34
Comment thread src/runtime/runtime.cs
return res;
}

public static IntPtr dlopen(String fileName, int flags)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

It looks like a Windows application could call dl{open,sym,close,...}. I saw the code above never does it on Windows but should you throw an exception if the platform is windows?

lassond left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Small comment on dlopen and other dl* functions. Apart from that it looks good

- throw exception if trying to call Mac/Linux specific functions on Windows
- fix dllBase path to point into packages
vkovec merged commit 0b9acdd into master Aug 10, 2018
vkovec deleted the UNI-55420-build-multi-platform-dll branch August 10, 2018 17:43
BadSingleton pushed a commit that referenced this pull request Sep 10, 2020
BadSingleton pushed a commit that referenced this pull request Jan 24, 2022
Reworked `ManagedType` to not keep python references to self
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL