Notcurses 3.0.16
a blingful library for TUIs and character graphics
Loading...
Searching...
No Matches
egcpool.h File Reference
#include <wchar.h>
#include <errno.h>
#include <stdio.h>
#include <wctype.h>
#include <stddef.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <unigbrk.h>
#include <unictype.h>
#include "notcurses/notcurses.h"
#include "compat/compat.h"
#include "logging.h"
Include dependency graph for egcpool.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  egcpool
 

Macros

#define POOL_MINIMUM_ALLOC   BUFSIZ
 
#define POOL_MAXIMUM_BYTES   (1 << 24)
 

Typedefs

typedef struct egcpool egcpool
 

Functions

 __attribute__ ((nonnull(1, 2))) int egcpool_stash(egcpool *pool
 
 __attribute__ ((__returns_nonnull__)) static inline const char *egcpool_extended_gcluster(const egcpool *pool
 

Variables

const char * egc
 
const char size_t ulen
 
const nccellc
 
uint32_t idx = cell_egc_idx(c)
 

Macro Definition Documentation

◆ POOL_MAXIMUM_BYTES

#define POOL_MAXIMUM_BYTES   (1 << 24)

Definition at line 36 of file egcpool.h.

◆ POOL_MINIMUM_ALLOC

#define POOL_MINIMUM_ALLOC   BUFSIZ

Definition at line 35 of file egcpool.h.

Typedef Documentation

◆ egcpool

typedef struct egcpool egcpool

Function Documentation

◆ __attribute__() [1/2]

__attribute__ ( (__returns_nonnull__)  ) const

◆ __attribute__() [2/2]

__attribute__ ( (nonnull(1, 2))  )

Variable Documentation

◆ c

API int const nccell * c
Initial value:
{
assert(cell_extended_p(c))
const nccell * c
Definition egcpool.h:207
assert(r >=0)

Definition at line 207 of file egcpool.h.

◆ egc

const char* egc

Definition at line 162 of file egcpool.h.

◆ idx

return pool pool idx = cell_egc_idx(c)

Definition at line 209 of file egcpool.h.

◆ ulen

const char size_t ulen

Definition at line 162 of file egcpool.h.