![]() |
Nilorea Library
C utilities for networking, threading, graphics
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include "nilorea/n_common.h"#include "nilorea/n_log.h"#include "nilorea/n_atlas.h"#include "allegro5/allegro_image.h"#include "allegro5/allegro_memfile.h"Go to the source code of this file.
Macros | |
| #define | ALLEGRO_UNSTABLE 1 |
Functions | |
| static void | expect_eqf (const char *label, float got, float want) |
| static void | expect_true (const char *label, int cond) |
| int | main (void) |
| static unsigned char * | make_png (int w, int h, size_t *out_len) |
Variables | |
| static int | failures = 0 |
| #define ALLEGRO_UNSTABLE 1 |
Definition at line 38 of file ex_atlas.c.
|
static |
Definition at line 62 of file ex_atlas.c.
References failures, LOG_ERR, LOG_INFO, and n_log.
Referenced by main().
|
static |
Definition at line 53 of file ex_atlas.c.
References failures, LOG_ERR, LOG_INFO, and n_log.
Referenced by check_shared_resources(), draw_into(), handle_stays_inside(), main(), main(), on_pick(), and run().
| int main | ( | void | ) |
Definition at line 117 of file ex_atlas.c.
References expect_eqf(), expect_true(), failures, LOG_ERR, make_png(), n_atlas_cell_rect(), n_atlas_destroy(), n_atlas_max_bitmap_size(), n_atlas_page_ready(), n_atlas_set_page(), n_log, new_n_atlas(), and set_log_level().
|
static |
Definition at line 76 of file ex_atlas.c.
Referenced by main(), and main().
|
static |
Definition at line 51 of file ex_atlas.c.
Referenced by approx(), check(), check(), collect(), expect(), expect_canon(), expect_close(), expect_close(), expect_close(), expect_close(), expect_contains(), expect_contains(), expect_encode(), expect_eq(), expect_eq_float(), expect_eq_int(), expect_eqf(), expect_hex(), expect_link_absent(), expect_link_present(), expect_missing(), expect_near(), expect_near(), expect_order(), expect_parse_error(), expect_resolve(), expect_size(), expect_streq(), expect_text(), expect_text(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_true(), expect_unified(), h2_on_request(), handle_stays_inside(), main(), main(), on_request(), peer_headers(), peer_put(), server_fn(), test_aead(), test_aead_chacha(), test_boundaries(), test_bounded(), test_build_response(), test_bytes(), test_callback_stop(), test_consttime(), test_continuation(), test_decode_errors(), test_decode_roundtrip(), test_digests(), test_dribbled_reads(), test_empty_and_null(), test_enctype(), test_errors(), test_errors(), test_forms(), test_get(), test_guards(), test_handshake(), test_handshake_errors(), test_hmac(), test_hmac_variants(), test_hpack_guards(), test_hpack_overflow(), test_hpack_rfc_huffman(), test_hpack_rfc_requests(), test_hpack_roundtrip(), test_js_urls(), test_kdf(), test_links(), test_multiplex(), test_parse(), test_pbkdf2(), test_ping_goaway(), test_post_body(), test_preface(), test_roundtrip(), test_rst_stream(), test_scripts(), test_send_flow_control(), test_send_window_stall(), test_settings(), test_sha256_hex(), test_sitemap(), test_to_text(), and test_token().