blob: a860f2899ed80dfbb6919755efc58c39162e08fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "main.h"
#include "mainwindow.h"
extern "C" {
static const uint16_t _test = 1;
static const uint8_t *_ptest = (uint8_t *)&_test;
uint8_t g_cd_endianness;
}
int main(int argc, char *argv[]) {
g_cd_endianness = *_ptest;
g_cd_app = new QApplication(argc, argv);
CDMainWindow w;
w.show();
return g_cd_app->exec();
}
|