[Vala] uchar and uint8. Same? Different?



Hello.

I noticed that gstreamer has this declaration:

GstBuffer {
 uint8 *data;
}

However, the corresponding .vapi has
class Gst.buffer {
  uchar[] data;
}

I know uchar and uint8 are the same in C.
And, apparently for vala too.

So, the question is:

Can we assume uint8 is the same than uchar in vala?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]