Files
OBS-WebKitGTK/tests/protocol-test.c
2026-07-18 08:18:50 +05:00

15 lines
335 B
C

#include "protocol.h"
#include <assert.h>
#include <stddef.h>
int main(void)
{
assert(sizeof(struct owb_config_header) == 36);
assert(sizeof(struct owb_command) == 100);
assert(sizeof(struct owb_shared_frames) == 40);
assert(offsetof(struct owb_command, text) == 36);
assert(OWB_CONFIG_MAGIC != OWB_COMMAND_MAGIC);
return 0;
}