Next: , Up: Hello Emacsy   [Contents][Index]


4.1 Embedder’s API: Unlimited power.

Here are a few function prototypes defined in emacsy.h, see C Api for the full list.

C Function: int emacsy_initialize (int init_flags)

Initialize Emacsy.

C Function: void emacsy_key_event (int char_code, int modifier_key_flags)

Enqueue a keyboard event.

C Function: int emacsy_tick ()

Run an iteration of Emacsy’s event loop, does not block.

C Function: char *emacsy_mode_line ()

Return the mode line.

C Function: int emacsy_terminate ()

Terminate Emacsy; run termination hook.