コード例 #1
0
ファイル: Buffer.c プロジェクト: Burgestrand/ffi
static VALUE
buffer_alloc_inout(int argc, VALUE* argv, VALUE klass)
{
    return buffer_initialize(argc, argv, buffer_allocate(klass));
}
コード例 #2
0
ファイル: RS485_comm.c プロジェクト: julemand101/RTSorter
void initialize_rs485()
{
	static struct Candy sendBufferArray[64];
	buffer_initialize(&sendBuffer, sendBufferArray, 64, "networkPackets");
	ecrobot_init_rs485(NETWORK_SPEED);
}