Skip to content

Commit

Permalink
Update sn3d.h
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Oct 28, 2024
1 parent 7806e82 commit e1e2f7a
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions sn3d.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,6 @@ inline void print_line_start() {
}
}

#define printout(...) \
{ \
print_line_start(); \
snprintf(outputlinebuf, sizeof(outputlinebuf), __VA_ARGS__); \
outputstartofline = (outputlinebuf[strlen(outputlinebuf) - 1] == '\n'); \
output_file << outputlinebuf; \
output_file.flush(); \
}

__attribute__((__format__(__printf__, 1, 2))) inline auto printoutf(const char *format, ...) -> void {
print_line_start();
va_list args{};
Expand Down

0 comments on commit e1e2f7a

Please sign in to comment.