Page MenuHomePhorge

stack.h
No OneTemporary

Size
511 B
Referenced Files
None
Subscribers
None
#ifndef ANT_STACK_H
#define ANT_STACK_H
#include <stdbool.h>
#include <stdint.h>
typedef struct call_frame {
const char *filename;
const char *function_name;
const char *code;
uint32_t pos; int line; int col;
} call_frame_t;
typedef struct {
call_frame_t *frames;
int depth; int capacity;
} call_stack_t;
extern call_stack_t global_call_stack;
void pop_call_frame(void);
bool push_call_frame(
const char *filename,
const char *function_name,
const char *code,
uint32_t pos
);
#endif

File Metadata

Mime Type
text/x-c
Expires
Sat, Mar 28, 4:07 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
514344
Default Alt Text
stack.h (511 B)

Event Timeline