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

Replace NUM_TERMINALS with ArraySize #22

Merged
merged 1 commit into from
Feb 4, 2022
Merged

Conversation

JJL772
Copy link
Member

@JJL772 JJL772 commented Feb 3, 2022

NUM_TERMINALS was generated and bad.

Closes #21

Should also note that g_pTerminalInfos is a bit of a misnomer since it's not really a pointer.

Let's also wait for the other PRs to be merged before merging this guy. I'll rebase this and regenerate terminals.h once the others are merge.d

Don't rely on generated size macro
@JJL772 JJL772 requested a review from klauer February 3, 2022 20:02
@JJL772 JJL772 changed the title Replace NUM_TERMINALS with ArraySize WIP: Replace NUM_TERMINALS with ArraySize Feb 3, 2022
@klauer
Copy link
Collaborator

klauer commented Feb 3, 2022

Let me try building this on the accelerator's ancient g++ first just to verify...

Copy link
Collaborator

@klauer klauer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed working on lcls-dev3.

As in @JJL772 's note above, we should wait to merge this until the other PR is in.

@JJL772 JJL772 changed the title WIP: Replace NUM_TERMINALS with ArraySize Replace NUM_TERMINALS with ArraySize Feb 4, 2022
@JJL772 JJL772 merged commit d984eec into master Feb 4, 2022
@klauer klauer deleted the feat/num-terminals branch February 4, 2022 16:09
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.

Dynamically determine NUM_TERMINALS
3 participants