Blender  V3.3
Macros | Functions
EventToBuf.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include "MEM_guardedalloc.h"
#include "EventToBuf.h"
#include "GHOST_C-api.h"

Go to the source code of this file.

Macros

#define K(key)
 

Functions

char * eventtype_to_string (GHOST_TEventType type)
 
static char * keytype_to_string (GHOST_TKey key)
 
void event_to_buf (GHOST_EventHandle evt, char buf[128])
 

Macro Definition Documentation

◆ K

#define K (   key)
Value:
case GHOST_k##key: \
return #key;

Function Documentation

◆ event_to_buf()

void event_to_buf ( GHOST_EventHandle  evt,
char  buf[128] 
)

◆ eventtype_to_string()

char* eventtype_to_string ( GHOST_TEventType  type)

◆ keytype_to_string()

static char* keytype_to_string ( GHOST_TKey  key)
static

Definition at line 46 of file EventToBuf.c.

References K.

Referenced by event_to_buf().