Skip to content

Basic decks implemented for use as local/global stacks #3

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 5 commits into from
Nov 13, 2012

Conversation

andrewmains12
Copy link
Collaborator

These are currently all of the same constant size; should be easy enough to change this so long as the caller provides the buffer to initialize the deck with.


#define LOCAL_GC_STACK_SIZE 16
#define GC_STACK_EMPTY -1
typedef struct Deck {
Copy link
Collaborator

Choose a reason for hiding this comment

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

lower case, suffix with _struct, suffix the type with _t

maxdjohnson added a commit that referenced this pull request Nov 13, 2012
Basic decks implemented for use as local/global stacks
@maxdjohnson maxdjohnson merged commit a7b313b into kevints:cs194_master Nov 13, 2012
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