-
Notifications
You must be signed in to change notification settings - Fork 7
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
Documentation fixes and moved to FMI.jl #49
Conversation
const fmi2FMUstate = Ptr{Cvoid} | ||
const fmi2Component = Ptr{Cvoid} | ||
const fmi2ComponentEnvironment = Ptr{Cvoid} | ||
const fmi2Enum = Array{Array{String}} # TODO: remove, this is not part of the spec! | ||
export fmi2Char, fmi2String, fmi2Boolean, fmi2Real, fmi2Integer, fmi2Byte, fmi2ValueReference, fmi2FMUstate, fmi2Component, fmi2ComponentEnvironment, fmi2Enum | ||
|
||
const fmi2Status = Cuint |
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.
why is the declaration seperated from the doc string now?
(doc string starts in L44, declaration is in L36)
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.
because otherwise each status would need its own docstring. Even if that option is preferred, I recommend to implement it in the future and go with this solution for now
const fmi2StatusError = Cuint(3) | ||
const fmi2StatusFatal = Cuint(4) | ||
const fmi2StatusPending = Cuint(5) | ||
fmi2Status, fmi2StatusOK, fmi2StatusWarning, fmi2StatusDiscard, fmi2StatusError, fmi2StatusFatal, fmi2StatusPending |
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.
what's this? (list of status codes)
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.
same here: one docstring for all codes (take note of the line numbers, github's formatting here is unhelpful)
""" | ||
`fmi3Boolean` TODO | ||
""" | ||
fmi3False, fmi3True |
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.
here, the same
No description provided.