8000 Mark aiger arguments as const * for functions not mutating the AIG by georgerennie · Pull Request #7 · arminbiere/aiger · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Mark aiger arguments as const * for functions not mutating the AIG #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

Merged
merged 1 commit into from
May 24, 2025

Conversation

georgerennie
Copy link
Contributor

This converts the AIG argument from aiger * to aiger const * for public functions that don't mutate the AIG.

This just makes using the library slightly nicer where you have functions that should only analyse the AIG, not modify it and shouldn't break any existing usage as aiger * is cast to aiger const * automatically.

@Froleyks Froleyks merged commit 8d690ea into arminbiere:master May 24, 2025
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.

2 participants
0