Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2959456
stack.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
511 B
Referenced Files
None
Subscribers
None
stack.h
View Options
#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
Details
Attached
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)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment