aboutsummaryrefslogtreecommitdiff
path: root/version.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2017-05-28 09:54:05 +0100
committerSimon Tatham <anakin@pobox.com>2017-05-28 09:54:05 +0100
commitfe5eb01f9b84b344bd1d476f409626fd7b4cd5f9 (patch)
treed378e92065fa90a1cce69eb38b3b3351ea6b3d50 /version.c
parentf501b2927d7e4bf6b26c1e348270e6f4a48ffb27 (diff)
downloadwix-on-linux-fe5eb01f9b84b344bd1d476f409626fd7b4cd5f9.tar.gz
wix-on-linux-fe5eb01f9b84b344bd1d476f409626fd7b4cd5f9.tar.bz2
wix-on-linux-fe5eb01f9b84b344bd1d476f409626fd7b4cd5f9.zip
Add a command-line test program.
At the moment it only tests MsiGetFileVersion, because that's the piece I just found a problem in, but I could easily extend it to have convenient command-line test rigs for other parts of this setup too.
Diffstat (limited to 'version.c')
-rw-r--r--version.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/version.c b/version.c
index 2ba7372..7a48a5f 100644
--- a/version.c
+++ b/version.c
@@ -11,6 +11,7 @@
11 11
12#include "memory.h" 12#include "memory.h"
13#include "uchars.h" 13#include "uchars.h"
14#include "api.h"
14 15
15uint32_t MsiGetFileVersionW(const char16_t *filename, 16uint32_t MsiGetFileVersionW(const char16_t *filename,
16 char16_t *version, uint32_t *version_size, 17 char16_t *version, uint32_t *version_size,