[Vala] vala LibUSB : get_device_list
- From: Geert Jordaens <geert jordaens telenet be>
- To: vala-list gnome org
- Subject: [Vala] vala LibUSB : get_device_list
- Date: Mon, 27 Dec 2010 14:49:30 +0100
hello,
any idea how to compile code below?
/* valac --pkg libusb-1.0 TestLibUsb.vala */
using LibUSB;
namespace TestLibUSb
{
public static class TestLibUSb
{
static int main (string[] args)
{
Context context = null;
Device[] devices = null;
Context.init (out context);
context.get_device_list(out devices);
return 0;
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]