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

/** @file semver.h */

#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);