Packages

Interfaces Elixir with C/C++ code in a user-friendly way! Based on Erlang-ports. Provides a few Mix-tasks to kickstart the development process.

Current section

Files

Jump to
cure c_src elixir_comm.h
Raw

c_src/elixir_comm.h

#ifndef ELIXIR_COMM_H
#define ELIXIR_COMM_H
#define MAX_BUFFER_SIZE 65535
typedef unsigned char byte;
int read_input(byte *buffer, int length);
int read_msg(byte *buffer);
void send_msg(byte *buffer, int length);
#endif