-
Notifications
You must be signed in to change notification settings - Fork 52
Fix: Apple Silicon - add libffi for calling variadic functions #2877
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
mwinkel-dev
merged 24 commits into
MDSplus:alpha
from
mwinkel-dev:mw-2877-macos-libffi-call-tdi
Mar 24, 2025
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
6c74056
MdsLib: include libroutines.h
mwinkel-dev f8a2014
MACOS_ARM64: calling LibCallgFfi
mwinkel-dev f7809f1
LibCallgFfi: added the function
mwinkel-dev 2cb8f00
LibCallgFfi: enums defined
mwinkel-dev 0f5a609
LibCallgFfi: enum members renamed VA_N_FIXED_ARGS
mwinkel-dev 0b72e17
LibCallgFfi: define MDSPLUS_USE_FFI
mwinkel-dev f5aa189
LibCallgFfi: revisions as per review of PR 2877
mwinkel-dev c83e5f7
LibCallgFfi: added status = to the t4012.c device to prevent compiler…
mwinkel-dev b578585
fixed_args: changes to TdiCall.c
mwinkel-dev 541a700
LibCallgFfi: now uses NOT_VARIADIC in TdiCall.c
mwinkel-dev 4de5070
TdiCall: switch to MDSPLUS_USE_FFI, etc
mwinkel-dev f6f8b90
TdiCall: fix indentation
mwinkel-dev 98c6516
fixed_args: change to lex
mwinkel-dev f14eb74
fixed_args: update Java and TDI tests
mwinkel-dev 835cc4c
TdiCall: refactor the LibCallg sections
mwinkel-dev 88ac58f
LibCallgFfi: eliminate MDS_BYPASS_FFI define by adding boolean parame…
mwinkel-dev 6701827
TdiCall: ignore compiler warning about unused parameter
mwinkel-dev 1b3acbc
TdiCall: remove unnecessary strdup and strtok
mwinkel-dev 1820abc
LibCallgFfi: add comments about limitations
mwinkel-dev f11cdba
TdiCall: changes reviewer suggested re tdi_call()
mwinkel-dev 176dc1b
TdiCall: fix bypass_ffi declaration
mwinkel-dev 04391f2
TdiCall: fix num_fixed_args declaration
mwinkel-dev b57f013
TdiExtFunction: now only executes TDI *.fun files
mwinkel-dev d4bbe2f
TdiExtFunction: remove rest of unneded code
mwinkel-dev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.