Zebediah Figura : include: Document vkd3d_shader_get_version().
Module: vkd3d Branch: master Commit: fcee3bfa9aec0a6fb4a8bf796071cda707b43b5f URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=fcee3bfa9aec0a6fb4a8bf79... Author: Zebediah Figura <z.figura12(a)gmail.com> Date: Wed Sep 2 20:11:20 2020 -0500 include: Document vkd3d_shader_get_version(). Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com> Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- include/vkd3d_shader.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/vkd3d_shader.h b/include/vkd3d_shader.h index cc5615c..11fc551 100644 --- a/include/vkd3d_shader.h +++ b/include/vkd3d_shader.h @@ -995,6 +995,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
participants (1)
-
Alexandre Julliard