| #include <gst/gstqueue.h> |
| #include <gst/gsttrashstack.h> |
| /* in case someone wants to generate a new arch */ |
| main (int argc, char *argv[]) |
| g_print ("/* Generated by GStreamer-%s */\n", GST_VERSION); |
| g_print ("Struct list[] = {\n"); |
| for (i = 0; list[i].name; i++) { |
| g_print (" { \"%s\", sizeof (%s), %d },\n", |
| list[i].name, list[i].name, list[i].size); |
| g_print (" { NULL, 0, 0}\n"); |
| g_print ("Run './struct_size regen' to regenerate structs.h\n"); |
| for (i = 0; list[i].name; i++) { |
| if (list[i].size != list[i].abi_size) { |
| g_print ("sizeof(%s) is %d, expected %d\n", |
| list[i].name, list[i].size, list[i].abi_size); |
| g_print ("All structures expected size\n"); |
| g_print ("No structure size list was generated for this architecture\n"); |