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

DLLEXPORT clean up #14219

Merged
merged 2 commits into from
Dec 2, 2015
Merged

DLLEXPORT clean up #14219

merged 2 commits into from
Dec 2, 2015

Conversation

yuyichao
Copy link
Contributor

@yuyichao yuyichao commented Dec 1, 2015

While working on #14190 I need to know if a function is DLLEXPORT'ed when looking at the function definition (functions that will not be called from arbitrary places can have a relaxed requirement on the GC state convention). This PR sync all the DLLEXPORT attribute also to the function definition so it is easier to reason about where can the function be called without jumping between files.

This also removes non DLLEXPORT'ed functions and the declarations of removed functions from julia.h.

@tkelman
Copy link
Contributor

tkelman commented Dec 1, 2015

should we take this opportunity to rename the define JL_DLLEXPORT to reduce the chance of define collisions in embedding use cases?

@yuyichao
Copy link
Contributor Author

yuyichao commented Dec 1, 2015

Sure, I can do that.

@yuyichao
Copy link
Contributor Author

yuyichao commented Dec 1, 2015

Done

@yuyichao
Copy link
Contributor Author

yuyichao commented Dec 2, 2015

I'll merge this later today if there's no other issues.

Also remove unexported function from `julia.h` and remove prototypes of
functions that does not exist anymore.
@yuyichao
Copy link
Contributor Author

yuyichao commented Dec 2, 2015

Rebase to resolve merge conflict with 240374c . Will merge when CI is gree.

yuyichao added a commit that referenced this pull request Dec 2, 2015
@yuyichao yuyichao merged commit 3149fb3 into master Dec 2, 2015
@yuyichao yuyichao deleted the yyc/export-cleanup branch December 2, 2015 20:37
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