Пример #1
0
void
bmlw_init (BuzzMachine * bm, unsigned long blob_size, unsigned char *blob_data)
{
  win32_prolog ();
  BMLX (bmlw_init (bm, blob_size, blob_data));
  win32_eliplog ();
}
Пример #2
0
static void
_bmlw_init (BmlIpcBuf * bi, BmlIpcBuf * bo)
{
  BuzzMachine *bm = (BuzzMachine *) bmlipc_read_int (bi);
  unsigned long blob_size = bmlipc_read_int (bi);
  unsigned char *blob_data =
      (unsigned char *) bmlipc_read_data (bi, (int) blob_size);
  bmlw_init (bm, blob_size, blob_data);
  bmlipc_write_int (bo, 0);
}