THIS IS OUTDATED, USE THE DOCUMENT HERE INSTEAD!
This might already be out-of-date with my findings, the newest code is on the repo. (But I'll try to keep it updated.)
name | size (bytes), other details |
---|---|
bool | 4 |
byte | 1 |
An implementation can be found here.
#!/usr/bin/env python3 | |
from ctypes import* | |
u=CDLL("libc.so.6") | |
c=CDLL("libclutter-1.0.so.0") | |
l=CDLL("libgobject-2.0.so.0") | |
def t(i,*b):i.restype=c_void_p;i.argtypes=[c_void_p]*len(b);return i(*b) | |
t(c.clutter_init) | |
g=t(c.clutter_stage_new) | |
_=t(c.clutter_shader_effect_new,1) | |
t(c.clutter_shader_effect_set_shader_source,_,b"void main(){cogl_color_out=vec4(cogl_tex_coord_in[0].xyx,1.);}") |
USBD Udisk | |
USBD init on controller 0 | |
sizeof(usbd_device_t) = 85 | |
sizeof(dcd_event_t) = 12 | |
sizeof(tu_fifo_t) = 12 | |
sizeof(tu_edpt_stream_t) = 24 | |
DFU init | |
USBD Bus Reset : High Speed | |
USBD Setup Received 80 06 00 01 00 00 40 00 |