-
Notifications
You must be signed in to change notification settings - Fork 224
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
implement rust ExternalLibrary #5683
Conversation
} | ||
|
||
/// Get the ExternalLibrary that this ExternalLocation targets | ||
pub fn library(&self) -> ExternalLibrary { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should return Option<ExternalLibrary>
} | ||
|
||
/// Get the file backing this external library | ||
pub fn backing_file(&self) -> ProjectFile { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should return Option<ProjectFile>
} | ||
|
||
/// Remove the symbol pointed to by this ExternalLocation. | ||
pub fn remove_target_symbol(&self) -> bool { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be removed and set_target_symbol
should take an Option<S>
} | ||
|
||
/// Set the file backing this external library | ||
pub fn set_backing_file(&self, file: &ProjectFile) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
file
should be Option<&ProjectFile>
Merged in f90f851, thank you! |
No description provided.