2018-05-09 07:10:07 +00:00
|
|
|
/*
|
|
|
|
4coder_function_list.cpp - Command for listing all functions in a C/C++ file in a jump list.
|
|
|
|
*/
|
|
|
|
|
|
|
|
// TOP
|
|
|
|
|
|
|
|
#if !defined(FCODER_FUNCTION_LIST_H)
|
|
|
|
#define FCODER_FUNCTION_LIST_H
|
|
|
|
|
|
|
|
struct Function_Positions{
|
2019-02-26 23:08:42 +00:00
|
|
|
i32 sig_start_index;
|
|
|
|
i32 sig_end_index;
|
|
|
|
i32 open_paren_pos;
|
2018-05-09 07:10:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct Get_Positions_Results{
|
2019-02-26 23:08:42 +00:00
|
|
|
i32 positions_count;
|
|
|
|
i32 next_token_index;
|
|
|
|
b32 still_looping;
|
2018-05-09 07:10:07 +00:00
|
|
|
};
|
|
|
|
|
2018-12-10 01:31:30 +00:00
|
|
|
struct Buffered_Write_Stream{
|
|
|
|
Buffer_ID output_buffer_id;
|
|
|
|
Partition *buffering_arena;
|
|
|
|
char *buffer;
|
|
|
|
};
|
|
|
|
|
2018-05-09 07:10:07 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
// BOTTOM
|
|
|
|
|