MultiverseSocial.com

Channel circle › core 0 System (NetXecChannel) › event

event (core 0, sub 3, flat id 3)

22 functions
SignaturePurposeSourceScope
struct EventChannel * OpenEventChannel(void)(no comment)EventChannel.c:26public
void CloseEventChannel(struct EventChannel *ec)CloseEventChannelEventChannel.c:81public
int EventChannelPush(struct EventChannel * restrict ec, uint64_t code)Push ? single producer (main loop) Writes one 64-bit bytecode into the ring. If the ring is full,EventChannel.c:110public
int EventChannelPop(struct EventChannel * restrict ec, uint64_t * restrict out)Pop ? single consumer Reads one 64-bit bytecode if one is available.EventChannel.c:136public
uint32_t EventChannelCount(const struct EventChannel *ec)DiagnosticsEventChannel.c:152public
uint64_t EventChannelLast(const struct EventChannel *ec)(no comment)EventChannel.c:158public
static int EventOp(struct EventChannel *c, uint32_t op, uint32_t a, uint64_t b)(no comment)EventChannel.c:167static
static void EventRd(struct EventChannel *c, uint32_t *m, uint32_t *a, uint64_t *b)(no comment)EventChannel.c:173static
int EventChannelOpBlockCheck(void)0 = every registered block is well-formed and collides with no other block and no fixed CHEV op (CHEV_OPEN, CHEV_CLOSE, CHEV_EDIT_CHANGED..CHEV_EDIT_CLOSED); else the 1-based row of the first bad block.EventChannel.c:192public
int EventChannelEmscriptenRoute(uint64_t chev)row index for a Channel Event code whose core/sub are 7/15 and op is in the block, else -1EventChannel.c:229public
int EventChannelEmscriptenCheck(void)0 = rows are the contiguous block FIRST..LAST in order, 7/15/127, CHEV_MAKE round-trips, and the block hits no fixed CHEV op (overlap with other channels' op blocks is checked by apply.sh --check); else 1-based row / 100+ code of the firstEventChannel.c:238public
void EventWireStateInit(struct EventWireState *st)(no comment)EventWire.c:11public
static uint32_t ModsFromSDL(uint32_t km)(no comment)EventWire.c:16static
static int32_t Clamp16(float v)(no comment)EventWire.c:28static
static uint32_t BtnBit(uint32_t b)(no comment)EventWire.c:36static
uint32_t EventWireKeyChar(uint32_t k, uint32_t evmods)(no comment)EventWire.c:46public
int EventWireFromSDL(struct EventWireState *st, const SDL_Event *ev, uint32_t keymod, uint64_t now_ms, struct EventRec *out)(no comment)EventWire.c:64public
void EventWireEncode(const struct EventRec *r, uint64_t w[2])(no comment)EventWire.c:156public
void EventWireDecode(const uint64_t w[2], struct EventRec *r)(no comment)EventWire.c:183public
void EventWireToBytes(const uint64_t w[2], uint8_t out[16])(no comment)EventWire.c:215public
void EventWireFromBytes(const uint8_t in[16], uint64_t w[2])(no comment)EventWire.c:225public
void EventWireToSDLKey(const struct EventRec *r, SDL_Event *out)(no comment)EventWire.c:236public

Core-level functions of core 0 · Core 0 in the full manual

The > Web 4 < Channel Paradigm · full manual · privacy · contact

Hits--