Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Conversation

@Ella-0
Copy link
Collaborator

@Ella-0 Ella-0 commented Aug 24, 2021

No description provided.


pub type PANEL = ll::PANEL;

#[cfg(feature="panel")]
Copy link
Owner

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?

Copy link
Collaborator Author

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 */
Copy link
Owner

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?

Copy link
Collaborator Author

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
Copy link
Owner

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?

Copy link
Collaborator Author

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.

@Ella-0 Ella-0 marked this pull request as draft August 26, 2021 10:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants