Skip to content

Commit 6863c33

Browse files
committed
Update README image
1 parent 8fc4dd1 commit 6863c33

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

.github/c_traceback.png

538 KB
Loading

.github/compilation_info.png

-598 KB
Binary file not shown.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ A colorful, lightweight error-propagation framework for C.
33

44
Documentation Website: [https://www.ctraceback.com](https://www.ctraceback.com)
55

6-
![C Traceback](.github/compilation_info.png)
6+
![C Traceback](.github/c_traceback.png)
77

88
## Features
99
* Beautiful tracebacks

examples/example.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ int main(void)
1313
ctb_clear_context();
1414
ctb_install_signal_handler();
1515

16+
LOG_WARNING(
17+
CTB_DEPRECATION_WARNING,
18+
"This function is deprecated and will be replaced in the next version"
19+
);
20+
LOG_MESSAGE("Hello, world!");
21+
1622
double *vec = malloc(N * sizeof(double));
1723
if (!vec)
1824
{

0 commit comments

Comments
 (0)