From 2380741bea16d5e3d54195c266e335cb131ac642 Mon Sep 17 00:00:00 2001 From: nasr Date: Sun, 29 Mar 2026 23:09:33 +0200 Subject: feature: moving rectangle --- build.sh | 28 ++----- build/app | Bin 73432 -> 73272 bytes build/core.o | Bin 0 -> 3889350 bytes build/libcore.a | Bin 0 -> 3889418 bytes source/core/core.c | 56 ++++++------- tags | 242 +++++++++++++++++++++++++++++++++++++++++++++++++++++ todo.db | Bin 0 -> 12288 bytes 7 files changed, 275 insertions(+), 51 deletions(-) create mode 100644 build/core.o create mode 100644 build/libcore.a create mode 100644 tags create mode 100644 todo.db diff --git a/build.sh b/build.sh index e602edb..b1e31be 100755 --- a/build.sh +++ b/build.sh @@ -1,29 +1,13 @@ #!/bin/sh set -eu - script_dir="$(dirname "$(readlink -f "$0")")" cd "$script_dir" - build_dir="build" mkdir -p "$build_dir" -compile() -{ - source="$1" - out="$2" - flags="${3:-}" - - common_flags="-I. -Wall -Wextra -Wno-unused-function -Wno-unused-variable" - linker_flags="-lX11 -lm" - - flags="$common_flags $flags $linker_flags" - - gcc $flags "$(readlink -f "$source")" -o "$build_dir"/"$out" -} - -# Build core shared lib -compile "source/core/core.h" "libcore.so" "-fPIC -shared -DCORE_UNITY" - -# Build app -compile "source/core/core.c" "app" "-L$build_dir -lcore" - +gcc -I. \ + -Wall -Wextra -Wno-unused-function -Wno-unused-variable \ + -DCORE_UNITY \ + source/core/core.c \ + -lX11 -lm \ + -o "$build_dir"/app diff --git a/build/app b/build/app index 5220177..75c3086 100755 Binary files a/build/app and b/build/app differ diff --git a/build/core.o b/build/core.o new file mode 100644 index 0000000..036d103 Binary files /dev/null and b/build/core.o differ diff --git a/build/libcore.a b/build/libcore.a new file mode 100644 index 0000000..6048141 Binary files /dev/null and b/build/libcore.a differ diff --git a/source/core/core.c b/source/core/core.c index 43322de..fffcb47 100644 --- a/source/core/core.c +++ b/source/core/core.c @@ -64,63 +64,61 @@ int main() p.value_mask, &wa); - Pixmap pixmap = XCreatePixmap(MainDisplay, window, dp_width, dp_heigth, 1); - XSetWindowBorder(MainDisplay, window, 60); - - // NOTE(nasr): type of input we want to handle - XSelectInput(MainDisplay, window, ExposureMask | StructureNotifyMask | KeyReleaseMask); - + XSelectInput(MainDisplay, window, ExposureMask | StructureNotifyMask | KeyReleaseMask | KeyPressMask); XMapWindow(MainDisplay, window); - - double x = p.width / 2; - double y = p.height / 2; + XEvent event; u32 rect_width = 50; u32 rect_height = 50; + i32 rect_x_position = p.width / 2; + i32 rect_y_position = p.height / 2; u64 color = 0x0000ff00; GC gc = XCreateGC(MainDisplay, window, 0, NIL); XSetForeground(MainDisplay, gc, color); - double *pX = &x; - double *pY = &y; - - XEvent event; - XNextEvent(MainDisplay, &event); - for (;running;) { - KeySym keysym = XLookupKeysym(event, 0); + XNextEvent(MainDisplay, &event); + KeySym keysym = XLookupKeysym(&event.xkey, 0); switch (event.type) { case (KeyPress): - { - if (keysym == XK_p || keysym == XK_P) + { + if(keysym == XK_h) rect_x_position -= 20; + else if(keysym == XK_l) rect_x_position += 20; + else if(keysym == XK_k) { - XDrawRectangle(MainDisplay, screen, gc, 50, 50, 50, 50); + rect_y_position -= 20; } - - break; - } - case (KeyRelease): - { - if (keysym == XK_p || keysym == XK_P) + else if(keysym == XK_j) { - XDrawRectangle(MainDisplay, screen, gc, 50, 50, 50, 50); + rect_y_position += 20; } + else if(keysym == XK_s) + { + + } + else if(keysym == XK_Escape || keysym == XK_q) goto exit; + + XClearWindow(MainDisplay, window); + XDrawRectangle(MainDisplay, window, gc, rect_x_position, rect_y_position, 50, 50); + XFillRectangle(MainDisplay, window, gc, rect_x_position, rect_y_position, 50, 50); break; - } + } default: - { + { + - } + } } } +exit: arena_clear(arena); return 0; } diff --git a/tags b/tags new file mode 100644 index 0000000..afdec3a --- /dev/null +++ b/tags @@ -0,0 +1,242 @@ +!_TAG_EXTRA_DESCRIPTION anonymous /Include tags for non-named objects like lambda/ +!_TAG_EXTRA_DESCRIPTION fileScope /Include tags of file scope/ +!_TAG_EXTRA_DESCRIPTION pseudo /Include pseudo tags/ +!_TAG_EXTRA_DESCRIPTION subparser /Include tags generated by subparsers/ +!_TAG_FIELD_DESCRIPTION epoch /the last modified time of the input file (only for F\/file kind tag)/ +!_TAG_FIELD_DESCRIPTION file /File-restricted scoping/ +!_TAG_FIELD_DESCRIPTION input /input file/ +!_TAG_FIELD_DESCRIPTION name /tag name/ +!_TAG_FIELD_DESCRIPTION pattern /pattern/ +!_TAG_FIELD_DESCRIPTION typeref /Type and name of a variable or typedef/ +!_TAG_FIELD_DESCRIPTION!C++ name /aliased names/ +!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ +!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/ +!_TAG_KIND_DESCRIPTION!C d,macro /macro definitions/ +!_TAG_KIND_DESCRIPTION!C e,enumerator /enumerators (values inside an enumeration)/ +!_TAG_KIND_DESCRIPTION!C f,function /function definitions/ +!_TAG_KIND_DESCRIPTION!C g,enum /enumeration names/ +!_TAG_KIND_DESCRIPTION!C h,header /included header files/ +!_TAG_KIND_DESCRIPTION!C m,member /struct, and union members/ +!_TAG_KIND_DESCRIPTION!C s,struct /structure names/ +!_TAG_KIND_DESCRIPTION!C t,typedef /typedefs/ +!_TAG_KIND_DESCRIPTION!C u,union /union names/ +!_TAG_KIND_DESCRIPTION!C v,variable /variable definitions/ +!_TAG_KIND_DESCRIPTION!C++ c,class /classes/ +!_TAG_KIND_DESCRIPTION!C++ d,macro /macro definitions/ +!_TAG_KIND_DESCRIPTION!C++ e,enumerator /enumerators (values inside an enumeration)/ +!_TAG_KIND_DESCRIPTION!C++ f,function /function definitions/ +!_TAG_KIND_DESCRIPTION!C++ g,enum /enumeration names/ +!_TAG_KIND_DESCRIPTION!C++ h,header /included header files/ +!_TAG_KIND_DESCRIPTION!C++ m,member /class, struct, and union members/ +!_TAG_KIND_DESCRIPTION!C++ n,namespace /namespaces/ +!_TAG_KIND_DESCRIPTION!C++ s,struct /structure names/ +!_TAG_KIND_DESCRIPTION!C++ t,typedef /typedefs/ +!_TAG_KIND_DESCRIPTION!C++ u,union /union names/ +!_TAG_KIND_DESCRIPTION!C++ v,variable /variable definitions/ +!_TAG_KIND_DESCRIPTION!Markdown S,subsection /level 2 sections/ +!_TAG_KIND_DESCRIPTION!Markdown T,l4subsection /level 4 sections/ +!_TAG_KIND_DESCRIPTION!Markdown c,chapter /chapters/ +!_TAG_KIND_DESCRIPTION!Markdown h,hashtag /hashtags/ +!_TAG_KIND_DESCRIPTION!Markdown n,footnote /footnotes/ +!_TAG_KIND_DESCRIPTION!Markdown s,section /sections/ +!_TAG_KIND_DESCRIPTION!Markdown t,subsubsection /level 3 sections/ +!_TAG_KIND_DESCRIPTION!Markdown u,l5subsection /level 5 sections/ +!_TAG_KIND_DESCRIPTION!Sh a,alias /aliases/ +!_TAG_KIND_DESCRIPTION!Sh f,function /functions/ +!_TAG_KIND_DESCRIPTION!Sh h,heredoc /label for here document/ +!_TAG_KIND_DESCRIPTION!Sh s,script /script files/ +!_TAG_OUTPUT_EXCMD mixed /number, pattern, mixed, or combineV2/ +!_TAG_OUTPUT_FILESEP slash /slash or backslash/ +!_TAG_OUTPUT_MODE u-ctags /u-ctags or e-ctags/ +!_TAG_OUTPUT_VERSION 0.0 /current.age/ +!_TAG_PARSER_VERSION!C 1.1 /current.age/ +!_TAG_PARSER_VERSION!C++ 1.1 /current.age/ +!_TAG_PARSER_VERSION!Markdown 1.1 /current.age/ +!_TAG_PARSER_VERSION!Sh 0.0 /current.age/ +!_TAG_PATTERN_LENGTH_LIMIT 96 /0 for no limit/ +!_TAG_PROC_CWD /home/nasr/projects/tb/ // +!_TAG_PROGRAM_AUTHOR Universal Ctags Team // +!_TAG_PROGRAM_NAME Universal Ctags /Derived from Exuberant Ctags/ +!_TAG_PROGRAM_URL https://ctags.io/ /official site/ +!_TAG_PROGRAM_VERSION 6.1.0 // +!_TAG_ROLE_DESCRIPTION!C!function foreigndecl /declared in foreign languages/ +!_TAG_ROLE_DESCRIPTION!C!header local /local header/ +!_TAG_ROLE_DESCRIPTION!C!header system /system header/ +!_TAG_ROLE_DESCRIPTION!C!macro undef /undefined/ +!_TAG_ROLE_DESCRIPTION!C!struct foreigndecl /declared in foreign languages/ +!_TAG_ROLE_DESCRIPTION!C++!header local /local header/ +!_TAG_ROLE_DESCRIPTION!C++!header system /system header/ +!_TAG_ROLE_DESCRIPTION!C++!macro undef /undefined/ +!_TAG_ROLE_DESCRIPTION!Sh!heredoc endmarker /end marker/ +!_TAG_ROLE_DESCRIPTION!Sh!script loaded /loaded/ +ARENA_ALIGN source/base/base_mem.h /^#define ARENA_ALIGN /;" d +ARENA_H source/base/base_arena.h /^#define ARENA_H$/;" d +Align source/base/base_arena.h /^#define Align(/;" d +BASE_H source/base/base.h /^#define BASE_H$/;" d +BASE_INCLUDE_H source/base/base_include.h /^#define BASE_INCLUDE_H$/;" d +BASE_MEM_H source/base/base_mem.h /^#define BASE_MEM_H$/;" d +BASE_PARSE_H source/base/base_parse.h /^#define BASE_PARSE_H$/;" d +BASE_STRING_H source/base/base_string.h /^#define BASE_STRING_H$/;" d +BASE_TEST_H source/base/base_test.h /^#define BASE_TEST_H$/;" d +BLUE source/base/base_test.h /^#define BLUE /;" d +BUFF_DEFAULT source/base/base.h /^#define BUFF_DEFAULT /;" d +BUFF_LARGE source/base/base.h /^#define BUFF_LARGE /;" d +BUFF_SMALL source/base/base.h /^#define BUFF_SMALL /;" d +COMPARE_STRING source/base/base_parse.h /^#define COMPARE_STRING(/;" d +CORE_H source/core/core.h /^#define CORE_H$/;" d +DEPRECATED source/base/base.h /^#define DEPRECATED /;" d +ERR_INVALID source/base/base.h /^#define ERR_INVALID /;" d +ERR_IO source/base/base.h /^#define ERR_IO /;" d +ERR_OK source/base/base.h /^#define ERR_OK /;" d +ERR_PARSE source/base/base.h /^#define ERR_PARSE /;" d +ERR_PERM source/base/base.h /^#define ERR_PERM /;" d +FALSE source/base/base.h /^#define FALSE /;" d +GREEN source/base/base_test.h /^#define GREEN /;" d +GiB source/base/base.h /^#define GiB(/;" d +HEADER_H source/base/bash_hash.h /^#define HEADER_H$/;" d +KiB source/base/base.h /^#define KiB(/;" d +LEN source/base/base_test.h /^#define LEN(/;" d +Line source/base/base_parse.h /^} Line;$/;" t typeref:struct:__anon805aa67a0108 +MAX source/base/base_mem.h /^#define MAX(/;" d +MIN source/base/base_mem.h /^#define MIN(/;" d +MemCpy source/base/base.h /^#define MemCpy(/;" d +MemSet source/base/base.h /^#define MemSet(/;" d +MiB source/base/base.h /^#define MiB(/;" d +NIL source/base/base.h /^#define NIL /;" d +NIL source/platform/platform.h /^#define NIL /;" d +PATH_MAX_LEN source/base/base.h /^#define PATH_MAX_LEN /;" d +PLATFORM_H source/platform/platform.h /^#define PLATFORM_H$/;" d +PLATFORM_INCLUDE_H source/platform/platform_include.h /^#define PLATFORM_INCLUDE_H$/;" d +PushArray source/base/base_arena.h /^#define PushArray(/;" d +PushString source/base/base_arena.h /^#define PushString(/;" d +PushStruct source/base/base_arena.h /^#define PushStruct(/;" d +RED source/base/base_test.h /^#define RED /;" d +RESET source/base/base_test.h /^#define RESET /;" d +STACK_H source/base/base_stack.h /^#define STACK_H$/;" d +TB_IMPLEMENTATION source/core/core.c /^#define TB_IMPLEMENTATION$/;" d file: +TRUE source/base/base.h /^#define TRUE /;" d +WindowProperties source/platform/platform.h /^struct WindowProperties$/;" s +WindowProperties source/platform/platform.h /^typedef struct WindowProperties WindowProperties;$/;" t typeref:struct:WindowProperties +__anon805aa67a0108 source/base/base_parse.h /^{$/;" s +align source/base/base_mem.c /^align(u64 pointer, umm alignment)$/;" f typeref:typename:internal u64 +arena source/base/base_arena.h /^ mem_arena *arena;$/;" m struct:temp_arena typeref:typename:mem_arena * +arena_alloc source/base/base_arena.c /^arena_alloc(mem_arena *arena, u64 size)$/;" f typeref:typename:internal void * +arena_clear source/base/base_arena.c /^arena_clear(mem_arena *arena)$/;" f typeref:typename:internal void +arena_create source/base/base_arena.c /^arena_create(u64 capacity)$/;" f typeref:typename:internal mem_arena * +arena_destroy source/base/base_arena.c /^arena_destroy(mem_arena *arena)$/;" f typeref:typename:internal void +arena_pop source/base/base_arena.c /^arena_pop(mem_arena *arena, u64 size)$/;" f typeref:typename:internal void +arena_pop_to source/base/base_arena.c /^arena_pop_to(mem_arena *arena, u64 pos)$/;" f typeref:typename:internal void +arena_resize source/base/base_arena.c /^arena_resize(mem_arena *arena, void *old_memory, u64 new_size, u64 old_size)$/;" f typeref:typename:internal mem_arena * +arena_resize_align source/base/base_arena.c /^arena_resize_align(mem_arena *arena, void *old_memory, u64 new_size, u64 old_size, umm alignment/;" f typeref:typename:internal mem_arena * +b16 source/base/base.h /^typedef i16 b16;$/;" t typeref:typename:i16 +b32 source/base/base.h /^typedef i32 b32;$/;" t typeref:typename:i32 +b8 source/base/base.h /^typedef u8 b8;$/;" t typeref:typename:u8 +base_position source/base/base_arena.h /^ u8 *base_position;$/;" m struct:mem_arena typeref:typename:u8 * +base_position source/base/base_stack.h /^ u8 *base_position;$/;" m struct:mem_stack typeref:typename:u8 * +border_width source/platform/platform.h /^ u32 border_width;$/;" m struct:WindowProperties typeref:typename:u32 +breakpoint source/base/base.h /^#define breakpoint /;" d +calculate_padding source/base/base_stack.c /^calculate_padding(umm pointer, umm alignment, umm header_size)$/;" f typeref:typename:internal umm +capacity source/base/base_arena.h /^ u64 capacity;$/;" m struct:mem_arena typeref:typename:u64 +capacity source/base/base_stack.h /^ umm capacity;$/;" m struct:mem_stack typeref:typename:umm +check source/base/base_test.h /^#define check(/;" d +checkpoint source/base/base_test.h /^#define checkpoint /;" d +checkpoint_end_output source/base/base_test.h /^#define checkpoint_end_output /;" d +checkpoint_output source/base/base_test.h /^#define checkpoint_output /;" d +compare_string source/base/base_string.c /^compare_string(char *c1, char *c2)$/;" f typeref:typename:internal b8 +compare_string_struct source/base/base_string.c /^compare_string_struct(string c1, string c2)$/;" f typeref:typename:internal b8 +count source/base/base_parse.h /^ i32 count;$/;" m struct:proc_file typeref:typename:i32 +current_offset source/base/base_stack.h /^ umm current_offset;$/;" m struct:mem_stack typeref:typename:umm +current_position source/base/base_arena.h /^ u64 current_position;$/;" m struct:mem_arena typeref:typename:u64 +data source/base/base.h /^ char *data;$/;" m struct:s8 typeref:typename:char * +data source/base/base_string.h /^ s8 *data;$/;" m struct:string typeref:typename:s8 * +display_pos source/platform/platform.h /^struct display_pos$/;" s +display_pos source/platform/platform.h /^typedef struct display_pos display_pos;$/;" t typeref:struct:display_pos +end source/base/base_parse.h /^ i8 *end;$/;" m struct:__anon805aa67a0108 typeref:typename:i8 * +entries source/base/base_parse.h /^ proc_entry *entries;$/;" m struct:proc_file typeref:typename:proc_entry * +f32 source/base/base.h /^typedef float f32;$/;" t typeref:typename:float +f64 source/base/base.h /^typedef double f64;$/;" t typeref:typename:double +generate_hash source/base/base_hash.c /^generate_hash()$/;" f typeref:typename:internal u64 +global_variable source/base/base.h /^#define global_variable /;" d +hash source/base/bash_hash.h /^typedef struct hash hash;$/;" t typeref:struct:hash +hash_map source/base/bash_hash.h /^struct hash_map $/;" s +hash_map source/base/bash_hash.h /^typedef struct hash_map hash_map;$/;" t typeref:struct:hash_map +height source/platform/platform.h /^ u32 height;$/;" m struct:WindowProperties typeref:typename:u32 +hmh_lp README.md /^# hmh_lp$/;" c +i16 source/base/base.h /^typedef int16_t i16;$/;" t typeref:typename:int16_t +i32 source/base/base.h /^typedef int32_t i32;$/;" t typeref:typename:int32_t +i64 source/base/base.h /^typedef int64_t i64;$/;" t typeref:typename:int64_t +i8 source/base/base.h /^typedef int8_t i8;$/;" t typeref:typename:int8_t +internal source/base/base.h /^#define internal /;" d +is_numeric source/base/base_parse.c /^is_numeric(char *s)$/;" f typeref:typename:internal b8 +is_pow source/base/base_mem.c /^is_pow(umm x)$/;" f typeref:typename:internal b8 +key source/base/base_parse.h /^ char key[16];$/;" m struct:proc_entry typeref:typename:char[16] +len source/base/base_parse.h /^ umm len;$/;" m struct:__anon805aa67a0108 typeref:typename:umm +local_persist source/base/base.h /^#define local_persist /;" d +main source/core/core.c /^int main()$/;" f typeref:typename:int +mem_arena source/base/base_arena.h /^struct mem_arena$/;" s +mem_arena source/base/base_arena.h /^typedef struct mem_arena mem_arena;$/;" t typeref:struct:mem_arena +mem_stack source/base/base_stack.h /^struct mem_stack$/;" s +mem_stack source/base/base_stack.h /^typedef struct mem_stack mem_stack;$/;" t typeref:struct:mem_stack +mem_stack_header source/base/base_stack.h /^struct mem_stack_header$/;" s +mem_stack_header source/base/base_stack.h /^typedef struct mem_stack_header mem_stack_header;$/;" t typeref:struct:mem_stack_header +padding source/base/base_stack.h /^ u8 padding;$/;" m struct:mem_stack_header typeref:typename:u8 +parse_proc_files source/base/base_parse.c /^parse_proc_files(char *path, mem_arena *arena)$/;" f typeref:typename:internal proc_file * +parse_u64 source/base/base_string.c /^parse_u64(char *buf, umm len)$/;" f typeref:typename:internal u64 +pos source/platform/platform.h /^struct pos$/;" s +pos source/platform/platform.h /^typedef struct pos pos;$/;" t typeref:struct:pos +previous_offset source/base/base_stack.h /^ u8 previous_offset;$/;" m struct:mem_stack_header typeref:typename:u8 +previous_position source/base/base_arena.h /^ u64 previous_position;$/;" m struct:mem_arena typeref:typename:u64 +proc_entry source/base/base_parse.h /^struct proc_entry$/;" s +proc_entry source/base/base_parse.h /^typedef struct proc_entry proc_entry;$/;" t typeref:struct:proc_entry +proc_file source/base/base_parse.h /^struct proc_file$/;" s +proc_file source/base/base_parse.h /^typedef struct proc_file proc_file;$/;" t typeref:struct:proc_file +s8 source/base/base.h /^struct s8$/;" s +s8 source/base/base.h /^typedef struct s8 s8;$/;" t typeref:struct:s8 +s8 source/base/base_string.h /^typedef u8 s8;$/;" t typeref:typename:u8 +show source/base/base_test.h /^#define show /;" d +size source/base/base.h /^ umm size;$/;" m struct:s8 typeref:typename:umm +size source/base/base_string.h /^ umm size;$/;" m struct:string typeref:typename:umm +skip_whitespaces source/base/base_string.c /^skip_whitespaces(string *buffer)$/;" f typeref:typename:internal umm +sleep_ms source/platform/platform.c /^sleep_ms(long ms)$/;" f typeref:typename:internal void +smm source/base/base.h /^typedef intptr_t smm;$/;" t typeref:typename:intptr_t +stack_create source/base/base_stack.c /^stack_create(u64 capacity)$/;" f typeref:typename:internal mem_stack * +stack_destroy source/base/base_stack.c /^stack_destroy(mem_stack *stack)$/;" f typeref:typename:internal void +stack_pop source/base/base_stack.c /^stack_pop(mem_stack *stack, void *pointer)$/;" f typeref:typename:internal void +stack_pop_all source/base/base_stack.c /^stack_pop_all(mem_stack *stack)$/;" f typeref:typename:internal void +stack_push source/base/base_stack.c /^stack_push(mem_stack *stack, umm size)$/;" f typeref:typename:internal void * +stack_push_align source/base/base_stack.c /^stack_push_align(mem_stack *stack, u64 size, umm alignment)$/;" f typeref:typename:internal mem_stack * +stack_resize_align source/base/base_stack.c /^stack_resize_align(mem_stack *stack, void *pointer, u64 old_size, u64 new_size, u64 alignment)$/;" f typeref:typename:internal mem_stack * +start source/base/base_parse.h /^ i8 *start;$/;" m struct:__anon805aa67a0108 typeref:typename:i8 * +start_position source/base/base_arena.h /^ u64 start_position;$/;" m struct:temp_arena typeref:typename:u64 +string source/base/base_string.h /^struct string$/;" s +string source/base/base_string.h /^typedef struct string string ;$/;" t typeref:struct:string +temp_arena source/base/base_arena.h /^struct temp_arena$/;" s +temp_arena source/base/base_arena.h /^typedef struct temp_arena temp_arena;$/;" t typeref:struct:temp_arena +temp_arena_begin source/base/base_arena.c /^temp_arena_begin(mem_arena *arena)$/;" f typeref:typename:internal temp_arena +temp_arena_end source/base/base_arena.c /^temp_arena_end(temp_arena temp)$/;" f typeref:typename:internal void +temp_breakpoint source/base/base.h /^#define temp_breakpoint /;" d +test source/base/base_test.h /^#define test(/;" d +u16 source/base/base.h /^typedef uint16_t u16;$/;" t typeref:typename:uint16_t +u32 source/base/base.h /^typedef uint32_t u32;$/;" t typeref:typename:uint32_t +u64 source/base/base.h /^typedef uint64_t u64;$/;" t typeref:typename:uint64_t +u8 source/base/base.h /^typedef uint8_t u8;$/;" t typeref:typename:uint8_t +umm source/base/base.h /^typedef uintptr_t umm;$/;" t typeref:typename:uintptr_t +unused source/base/base.h /^#define unused(/;" d +value source/base/base_parse.h /^ char value[16];$/;" m struct:proc_entry typeref:typename:char[16] +value_mask source/platform/platform.h /^ u64 value_mask;$/;" m struct:WindowProperties typeref:typename:u64 +vertex source/platform/platform.h /^struct vertex$/;" s +vertex source/platform/platform.h /^typedef struct vertex vertex;$/;" t typeref:struct:vertex +width source/platform/platform.h /^ u32 width;$/;" m struct:WindowProperties typeref:typename:u32 +window_class source/platform/platform.h /^ u32 window_class;$/;" m struct:WindowProperties typeref:typename:u32 +window_depth source/platform/platform.h /^ i32 window_depth;$/;" m struct:WindowProperties typeref:typename:i32 +write_int source/base/base_test.c /^write_int(i32 num)$/;" f typeref:typename:void +x source/platform/platform.h /^ i32 x;$/;" m struct:WindowProperties typeref:typename:i32 +x source/platform/platform.h /^ i32 x;$/;" m struct:display_pos typeref:typename:i32 +x source/platform/platform.h /^ i32 x;$/;" m struct:pos typeref:typename:i32 +x source/platform/platform.h /^ i32 x;$/;" m struct:vertex typeref:typename:i32 +y source/platform/platform.h /^ i32 y;$/;" m struct:WindowProperties typeref:typename:i32 +y source/platform/platform.h /^ i32 y;$/;" m struct:display_pos typeref:typename:i32 +y source/platform/platform.h /^ i32 y;$/;" m struct:pos typeref:typename:i32 +y source/platform/platform.h /^ i32 y;$/;" m struct:vertex typeref:typename:i32 +z source/platform/platform.h /^ i32 z;$/;" m struct:pos typeref:typename:i32 +z source/platform/platform.h /^ i32 z;$/;" m struct:vertex typeref:typename:i32 diff --git a/todo.db b/todo.db new file mode 100644 index 0000000..e1abef7 Binary files /dev/null and b/todo.db differ -- cgit v1.3