[PATCH vkd3d 3/5] include: Document vkd3d_shader_get_version().
Zebediah Figura
z.figura12 at gmail.com
Wed Sep 2 20:11:20 CDT 2020
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
include/vkd3d_shader.h | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/include/vkd3d_shader.h b/include/vkd3d_shader.h
index c48270f4..630f2dfd 100644
--- a/include/vkd3d_shader.h
+++ b/include/vkd3d_shader.h
@@ -1075,6 +1075,17 @@ static inline uint32_t vkd3d_shader_create_swizzle(enum vkd3d_shader_swizzle_com
#ifndef VKD3D_SHADER_NO_PROTOTYPES
+/**
+ * Returns the current version of this library.
+ *
+ * \param major Output location for the major version of this library.
+ *
+ * \param minor Output location for the minor version of this library.
+ *
+ * \return A human-readable string describing the library name and version. This
+ * string is null-terminated and UTF-8 encoded. This may be a pointer to static
+ * data in libvkd3d-shader; it should not be freed.
+ */
const char *vkd3d_shader_get_version(unsigned int *major, unsigned int *minor);
/**
* Returns the source types supported, with any target type, by
--
2.28.0
More information about the wine-devel
mailing list