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

rand(): why it works #2

Open
lstefano71 opened this issue Jan 24, 2022 · 0 comments
Open

rand(): why it works #2

lstefano71 opened this issue Jan 24, 2022 · 0 comments

Comments

@lstefano71
Copy link

b-decoded/a.c

Line 16 in 3c21a33

ZI rand(){ // how could this possibly work? no increment or varying state.

It works because ZJ is defined as "static":

b-decoded/c.h

Line 25 in 3c21a33

#define ZJ static J

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

No branches or pull requests

1 participant