mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 14:16:09 -06:00
58 lines
1 KiB
C++
58 lines
1 KiB
C++
#include <stdio.h>
|
|
#include <string.h>
|
|
|
|
#define DATA16(b0,b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,b12,b13,b14,b15) \
|
|
b0,b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,b12,b13,b14,b15,
|
|
|
|
TOPIC("link")
|
|
TITLE("Test")
|
|
COMPRESSED
|
|
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
|
|
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
|
|
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
|
|
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
|
|
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
|
|
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
|
|
0
|
|
END_TOPIC
|
|
|
|
{
|
|
static byte data[] = {0};
|
|
{
|
|
TopicImp& topic = group.GetAdd(id);
|
|
|
|
topic.title = test;
|
|
|
|
static byte data[] = {
|
|
|
|
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
|
|
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
|
|
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
|
|
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
|
|
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
|
|
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
|
|
0
|
|
|
|
|
|
}
|
|
topic.compressed = data;
|
|
topic.length = __countof(x)
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void main(int arc, char **argv)
|
|
{
|
|
printf("%d", strlen(test));
|
|
}
|