/* * Determine the size of basic C types to aid in the creation of * signal/slot stubs by SigSlot.pm * * Copyright (C) 1999, Ashley Winters * * You may distribute under the terms of the LGPL as specified in the * README.LICENSE file which should be included with this library. * */ #include #undef bool #include "qglobal.h" int main(int argc, char *argv[]) { printf("void* = %d\n", sizeof(void *)); printf("bool = %d\n", sizeof(bool)); printf("char = %d\n", sizeof(char)); printf("short = %d\n", sizeof(short)); printf("int = %d\n", sizeof(int)); printf("long = %d\n", sizeof(long)); printf("float = %d\n", sizeof(float)); printf("double = %d\n", sizeof(double)); printf("long double = %d\n", sizeof(long double)); return 0; }