summaryrefslogtreecommitdiff
path: root/shared/semver.h
blob: a99ae61d7980dce4746a3ab11267227a3cb0b08f (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

#include <stdint.h>

typedef struct {
	uint8_t major;
	uint8_t minor;
	uint8_t patch;
} w2_semver_t;

w2_semver_t w2_semver_parse(const char *str, uint8_t length);