Sha256: fc52cba2810ad90102d9850567a57d440c150b788819c9b61881dfb2acb9350e

Contents?: true

Size: 749 Bytes

Versions: 3

Compression:

Stored size: 749 Bytes

Contents

#ifndef _TAGSTACK_H
#define _TAGSTACK_H	1

struct tagstack_entry {
  int tag;		/* code of tag */
  int value;		/* if (true/false) - used in else */
  int vcontext;		/* visibility context of the tag (visible/unvisible) */
  const char* position;	/* start of tag; useful for loops */
};

static 
void tagstack_init(struct tagstack* tagstack);
static 
void tagstack_free(struct tagstack* tagstack);
static 
void tagstack_push(struct tagstack* tagstack, struct tagstack_entry);
static 
struct tagstack_entry tagstack_pop(struct tagstack* tagstack);
static 
struct tagstack_entry* tagstack_top(struct tagstack* tagstack);
static 
int tagstack_notempty(struct tagstack* tagstack);

#endif /* tagstack.h */

/*
 * Local Variables:
 * mode: c 
 * End: 
 */

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
html-template-pro-0.0.3 ext/html/template/tagstack.h
html-template-pro-0.0.2 ext/html/template/internal/tagstack.h
html-template-pro-0.0.1 ext/html/template/internal/tagstack.h