unicode.h

Include dependency graph for unicode.h:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "2" [label="stdbool.h" tooltip="stdbool.h"]
    "4" [label="stdint.h" tooltip="stdint.h"]
    "3" [label="stddef.h" tooltip="stddef.h"]
    "1" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/unicode.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/unicode.h" fillcolor="#BFBFBF"]
    "1" -> "2" [dir=forward tooltip="include"]
    "1" -> "3" [dir=forward tooltip="include"]
    "1" -> "4" [dir=forward tooltip="include"]
}

This graph shows which files directly or indirectly include unicode.h:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "2" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/atom_table.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/atom_table.c"]
    "5" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/unicode.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/unicode.c"]
    "1" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/unicode.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/unicode.h" fillcolor="#BFBFBF"]
    "4" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/nifs.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/nifs.c"]
    "3" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/externalterm.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/externalterm.c"]
    "1" -> "2" [dir=back tooltip="include"]
    "1" -> "3" [dir=back tooltip="include"]
    "1" -> "4" [dir=back tooltip="include"]
    "1" -> "5" [dir=back tooltip="include"]
}

Functions

size_t unicode_buf_utf8_len(const uint8_t *buf, size_t buf_len)
bool unicode_buf_is_ascii(const uint8_t *buf, size_t buf_len)
size_t unicode_latin1_buf_size_as_utf8(const uint8_t *buf, size_t len)
static inline bool unicode_is_valid_codepoint(uint32_t codepoint)