Skip to content
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

Allow JuliaWrapper for Julia functions; allow calling them #183

Merged
merged 1 commit into from
Nov 29, 2018

Conversation

fingolfin
Copy link
Member

No description provided.

@fingolfin fingolfin requested a review from sebasguts November 29, 2018 13:44
@codecov
Copy link

codecov bot commented Nov 29, 2018

Codecov Report

Merging #183 into master will increase coverage by 0.2%.
The diff coverage is 81.81%.

@@            Coverage Diff            @@
##           master     #183     +/-   ##
=========================================
+ Coverage   72.34%   72.55%   +0.2%     
=========================================
  Files          43       43             
  Lines        2311     2317      +6     
=========================================
+ Hits         1672     1681      +9     
+ Misses        639      636      -3
Impacted Files Coverage Δ
JuliaInterface/gap/calls.gi 100% <100%> (ø) ⬆️
JuliaInterface/src/convert.c 94.87% <71.42%> (+8.38%) ⬆️

if (IS_JULIA_FUNC(obj)) {
return GET_JULIA_FUNC(obj);
}
// TODO: also allow wrapping auto-converted Julia objects???
Copy link
Contributor

Choose a reason for hiding this comment

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

What do you mean by this comment?

Copy link
Member Author

Choose a reason for hiding this comment

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

It is conceivable that this one might want to uniformly wrap all and any object returned by some Julia function. But then this might also be a boolean or Int64. In that case, perhaps we'd want to do recursion here... but this is rather hypothetical, so better not to worry here too much for now. Hence the comment

@sebasguts sebasguts merged commit c1a0d2b into oscar-system:master Nov 29, 2018
@fingolfin fingolfin deleted the mh/callable-JuliaWrapper branch November 30, 2018 10:27
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