-
Notifications
You must be signed in to change notification settings - Fork 104
General code cleanup #205
base: master
Are you sure you want to change the base?
General code cleanup #205
Conversation
|
|
||
| pub type PANEL = ll::PANEL; | ||
|
|
||
| #[cfg(feature="panel")] |
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 can we remove all of these, if we needed them before?
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 i'm replacing them with much fewer #[cfg(feature="panel")] lines in lib.rs.
| #define PCONSTU(ty, NAME) printf("pub const " #NAME ": " #ty " = %llu;\n", (unsigned long long) (NAME)) | ||
|
|
||
| int main() { | ||
| /* some values aren't set until after this is run */ |
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 this no longer needed?
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 was not needed in my previous pr; I forgot to remove it. ACS values are initialized later but they are now defined as functions.
|
|
||
|
|
||
| #[link_name="box"] pub fn box_(w: WINDOW, v: chtype, h: chtype) -> i32 | ||
| pub fn box_(w: WINDOW, v: chtype, h: chtype) -> i32 |
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 this no longer needed?
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.
I don't see why it was needed in the first place.
No description provided.