Skip to content

Instantly share code, notes, and snippets.

@sxhmilyoyo
Created May 2, 2018 14:51
Show Gist options
  • Save sxhmilyoyo/eedad2fc2178053bf0ac1c9fe32551c3 to your computer and use it in GitHub Desktop.
Save sxhmilyoyo/eedad2fc2178053bf0ac1c9fe32551c3 to your computer and use it in GitHub Desktop.
struct temp {
char *name; //temporary variable name
int flag; //indicate whether the variable is free(0: free; 1: used)
} temps[TOTAL];
void inittemps();
struct temp *gettemp();
void freetemp(struct temp *t);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment