Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cglm for openSUSE:Factory checked in 
at 2023-02-16 16:55:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cglm (Old)
 and      /work/SRC/openSUSE:Factory/.cglm.new.22824 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cglm"

Thu Feb 16 16:55:33 2023 rev:7 rq:1065952 version:0.8.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/cglm/cglm.changes        2023-01-21 
19:11:36.409314079 +0100
+++ /work/SRC/openSUSE:Factory/.cglm.new.22824/cglm.changes     2023-02-16 
16:55:47.550685980 +0100
@@ -1,0 +2,7 @@
+Wed Feb 15 12:31:28 UTC 2023 - Ferdinand Thiessen <r...@fthiessen.de>
+
+- Update to version 0.8.9
+  * Adding initialization macros for ivec types
+  * Make implicit double promotion/casting explicit
+
+-------------------------------------------------------------------

Old:
----
  cglm-0.8.8.tar.gz

New:
----
  cglm-0.8.9.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cglm.spec ++++++
--- /var/tmp/diff_new_pack.NGBZ7h/_old  2023-02-16 16:55:48.146688388 +0100
+++ /var/tmp/diff_new_pack.NGBZ7h/_new  2023-02-16 16:55:48.154688421 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cglm
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %define sover 0
 Name:           cglm
-Version:        0.8.8
+Version:        0.8.9
 Release:        0
 Summary:        OpenGL mathematics (glm) for C
 License:        MIT

++++++ cglm-0.8.8.tar.gz -> cglm-0.8.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cglm-0.8.8/CMakeLists.txt 
new/cglm-0.8.9/CMakeLists.txt
--- old/cglm-0.8.8/CMakeLists.txt       2022-12-13 18:17:03.000000000 +0100
+++ new/cglm-0.8.9/CMakeLists.txt       2023-01-27 19:01:54.000000000 +0100
@@ -1,6 +1,6 @@
 cmake_minimum_required(VERSION 3.8.2)
 project(cglm
-  VERSION 0.8.8
+  VERSION 0.8.9
   HOMEPAGE_URL https://github.com/recp/cglm
   DESCRIPTION "OpenGL Mathematics (glm) for C"
   LANGUAGES C
@@ -41,7 +41,9 @@
   add_compile_options(-Wall -Werror -O3)
 endif()
 
-if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
+get_directory_property(hasParent PARENT_DIRECTORY)
+
+if(NOT hasParent AND NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
   message(STATUS "Setting build type to '${DEFAULT_BUILD_TYPE}' as none was 
specified.")
   set(CMAKE_BUILD_TYPE "${DEFAULT_BUILD_TYPE}" CACHE STRING "Choose the type 
of build." FORCE)
   # Set the possible values of build type for cmake-gui
@@ -157,6 +159,20 @@
         NAMESPACE   ${PROJECT_NAME}::
         DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME})
 
+set(PACKAGE_NAME ${PROJECT_NAME})
+set(prefix ${CMAKE_INSTALL_PREFIX})
+set(exec_prefix ${CMAKE_INSTALL_PREFIX})
+if (IS_ABSOLUTE "${CMAKE_INSTALL_INCLUDEDIR}")
+  set(includedir "${CMAKE_INSTALL_INCLUDEDIR}")
+else()
+  set(includedir "\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}")
+endif()
+if (IS_ABSOLUTE "${CMAKE_INSTALL_LIBDIR}")
+  set(libdir "${CMAKE_INSTALL_LIBDIR}")
+else()
+  set(libdir "\${exec_prefix}/${CMAKE_INSTALL_LIBDIR}")
+endif()
+set(PACKAGE_VERSION "${PROJECT_VERSION}")
 configure_file(cglm.pc.in cglm.pc @ONLY)
 
 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/cglm.pc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cglm-0.8.8/cglm.pc.in new/cglm-0.8.9/cglm.pc.in
--- old/cglm-0.8.8/cglm.pc.in   2022-12-13 18:17:03.000000000 +0100
+++ new/cglm-0.8.9/cglm.pc.in   2023-01-27 19:01:54.000000000 +0100
@@ -1,11 +1,11 @@
-prefix=@CMAKE_INSTALL_PREFIX@
-exec_prefix="${prefix}"
-libdir="${exec_prefix}/lib"
-includedir="${prefix}/include"
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
 
-Name: @PROJECT_NAME@
-Description: @CMAKE_PROJECT_DESCRIPTION@
-URL: @CMAKE_PROJECT_HOMEPAGE_URL@
-Version: @PROJECT_VERSION@
+Name: @PACKAGE_NAME@
+Description: OpenGL Mathematics (glm) for C
+URL: https://github.com/recp/cglm
+Version: @PACKAGE_VERSION@
 Cflags: -I${includedir}
 Libs: -L${libdir} -lcglm @LIBS@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cglm-0.8.8/cglm.podspec new/cglm-0.8.9/cglm.podspec
--- old/cglm-0.8.8/cglm.podspec 2022-12-13 18:17:03.000000000 +0100
+++ new/cglm-0.8.9/cglm.podspec 2023-01-27 19:01:54.000000000 +0100
@@ -2,7 +2,7 @@
 
   # Description
   s.name         = "cglm"
-  s.version      = "0.8.7"
+  s.version      = "0.8.8"
   s.summary      = "📽 Highly Optimized Graphics Math (glm) for C"
   s.description  = <<-DESC
 cglm is math library for graphics programming for C. See the documentation or 
README for all features.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cglm-0.8.8/configure.ac new/cglm-0.8.9/configure.ac
--- old/cglm-0.8.8/configure.ac 2022-12-13 18:17:03.000000000 +0100
+++ new/cglm-0.8.9/configure.ac 2023-01-27 19:01:54.000000000 +0100
@@ -7,7 +7,7 @@
 #*****************************************************************************
 
 AC_PREREQ([2.69])
-AC_INIT([cglm], [0.8.8], [i...@recp.me])
+AC_INIT([cglm], [0.8.9], [i...@recp.me])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects serial-tests])
 
 # Don't use the default cflags (-O2 -g), we set ours manually in Makefile.am.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cglm-0.8.8/docs/source/conf.py 
new/cglm-0.8.9/docs/source/conf.py
--- old/cglm-0.8.8/docs/source/conf.py  2022-12-13 18:17:03.000000000 +0100
+++ new/cglm-0.8.9/docs/source/conf.py  2023-01-27 19:01:54.000000000 +0100
@@ -62,9 +62,9 @@
 # built documents.
 #
 # The short X.Y version.
-version = u'0.8.8'
+version = u'0.8.9'
 # The full version, including alpha/beta/rc tags.
-release = u'0.8.8'
+release = u'0.8.9'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cglm-0.8.8/docs/source/ivec2.rst 
new/cglm-0.8.9/docs/source/ivec2.rst
--- old/cglm-0.8.8/docs/source/ivec2.rst        2022-12-13 18:17:03.000000000 
+0100
+++ new/cglm-0.8.9/docs/source/ivec2.rst        2023-01-27 19:01:54.000000000 
+0100
@@ -8,6 +8,13 @@
 Table of contents (click to go):
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
+Macros:
+
+1. GLM_IVEC2_ONE_INIT
+#. GLM_IVEC2_ZERO_INIT
+#. GLM_IVEC2_ONE
+#. GLM_IVEC2_ZERO
+
 Functions:
 
 1. :c:func:`glm_ivec2`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cglm-0.8.8/docs/source/ivec3.rst 
new/cglm-0.8.9/docs/source/ivec3.rst
--- old/cglm-0.8.8/docs/source/ivec3.rst        2022-12-13 18:17:03.000000000 
+0100
+++ new/cglm-0.8.9/docs/source/ivec3.rst        2023-01-27 19:01:54.000000000 
+0100
@@ -8,6 +8,13 @@
 Table of contents (click to go):
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
+Macros:
+
+1. GLM_IVEC3_ONE_INIT
+#. GLM_IVEC3_ZERO_INIT
+#. GLM_IVEC3_ONE
+#. GLM_IVEC3_ZERO
+
 Functions:
 
 1. :c:func:`glm_ivec3`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cglm-0.8.8/docs/source/ivec4.rst 
new/cglm-0.8.9/docs/source/ivec4.rst
--- old/cglm-0.8.8/docs/source/ivec4.rst        2022-12-13 18:17:03.000000000 
+0100
+++ new/cglm-0.8.9/docs/source/ivec4.rst        2023-01-27 19:01:54.000000000 
+0100
@@ -8,6 +8,13 @@
 Table of contents (click to go):
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
+Macros:
+
+1. GLM_IVEC4_ONE_INIT
+#. GLM_IVEC4_ZERO_INIT
+#. GLM_IVEC4_ONE
+#. GLM_IVEC4_ZERO
+
 Functions:
 
 1. :c:func:`glm_ivec4`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cglm-0.8.8/docs/source/vec2.rst 
new/cglm-0.8.9/docs/source/vec2.rst
--- old/cglm-0.8.8/docs/source/vec2.rst 2022-12-13 18:17:03.000000000 +0100
+++ new/cglm-0.8.9/docs/source/vec2.rst 2023-01-27 19:01:54.000000000 +0100
@@ -10,10 +10,10 @@
 
 Macros:
 
-1. GLM_vec2_ONE_INIT
-#. GLM_vec2_ZERO_INIT
-#. GLM_vec2_ONE
-#. GLM_vec2_ZERO
+1. GLM_VEC2_ONE_INIT
+#. GLM_VEC2_ZERO_INIT
+#. GLM_VEC2_ONE
+#. GLM_VEC2_ZERO
 
 Functions:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cglm-0.8.8/include/cglm/common.h 
new/cglm-0.8.9/include/cglm/common.h
--- old/cglm-0.8.8/include/cglm/common.h        2022-12-13 18:17:03.000000000 
+0100
+++ new/cglm-0.8.9/include/cglm/common.h        2023-01-27 19:01:54.000000000 
+0100
@@ -45,7 +45,7 @@
 
 #ifndef CGLM_USE_DEFAULT_EPSILON
 #  ifndef GLM_FLT_EPSILON
-#    define GLM_FLT_EPSILON 1e-5
+#    define GLM_FLT_EPSILON 1e-5f
 #  endif
 #else
 #  define GLM_FLT_EPSILON FLT_EPSILON
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cglm-0.8.8/include/cglm/io.h 
new/cglm-0.8.9/include/cglm/io.h
--- old/cglm-0.8.8/include/cglm/io.h    2022-12-13 18:17:03.000000000 +0100
+++ new/cglm-0.8.9/include/cglm/io.h    2023-01-27 19:01:54.000000000 +0100
@@ -49,7 +49,7 @@
 #endif
 
 #ifndef CGLM_PRINT_MAX_TO_SHORT
-#  define CGLM_PRINT_MAX_TO_SHORT 1e5
+#  define CGLM_PRINT_MAX_TO_SHORT 1e5f
 #endif
 
 #ifndef CGLM_PRINT_COLOR
@@ -77,9 +77,9 @@
   for (i = 0; i < m; i++) {
     for (j = 0; j < n; j++) {
       if (matrix[i][j] < CGLM_PRINT_MAX_TO_SHORT)
-        cwi = sprintf(buff, "% .*f", CGLM_PRINT_PRECISION, matrix[i][j]);
+        cwi = sprintf(buff, "% .*f", CGLM_PRINT_PRECISION, 
(double)matrix[i][j]);
       else
-        cwi = sprintf(buff, "% g", matrix[i][j]);
+        cwi = sprintf(buff, "% g", (double)matrix[i][j]);
       cw[i] = GLM_MAX(cw[i], cwi);
     }
   }
@@ -89,9 +89,9 @@
 
     for (j = 0; j < n; j++)
       if (matrix[i][j] < CGLM_PRINT_MAX_TO_SHORT)
-        fprintf(ostream, " % *.*f", cw[j], CGLM_PRINT_PRECISION, matrix[j][i]);
+        fprintf(ostream, " % *.*f", cw[j], CGLM_PRINT_PRECISION, 
(double)matrix[j][i]);
       else
-        fprintf(ostream, " % *g", cw[j], matrix[j][i]);
+        fprintf(ostream, " % *g", cw[j], (double)matrix[j][i]);
 
     fprintf(ostream, "  |\n");
   }
@@ -120,22 +120,22 @@
   for (i = 0; i < m; i++) {
     for (j = 0; j < n; j++) {
       if (matrix[i][j] < CGLM_PRINT_MAX_TO_SHORT)
-        cwi = sprintf(buff, "% .*f", CGLM_PRINT_PRECISION, matrix[i][j]);
+        cwi = sprintf(buff, "% .*f", CGLM_PRINT_PRECISION, 
(double)matrix[i][j]);
       else
-        cwi = sprintf(buff, "% g", matrix[i][j]);
+        cwi = sprintf(buff, "% g", (double)matrix[i][j]);
       cw[i] = GLM_MAX(cw[i], cwi);
     }
   }
 
   for (i = 0; i < m; i++) {
     fprintf(ostream, "  |");
-    
+
     for (j = 0; j < n; j++)
       if (matrix[i][j] < CGLM_PRINT_MAX_TO_SHORT)
-        fprintf(ostream, " % *.*f", cw[j], CGLM_PRINT_PRECISION, matrix[j][i]);
+        fprintf(ostream, " % *.*f", cw[j], CGLM_PRINT_PRECISION, 
(double)matrix[j][i]);
       else
-        fprintf(ostream, " % *g", cw[j], matrix[j][i]);
-    
+        fprintf(ostream, " % *g", cw[j], (double)matrix[j][i]);
+
     fprintf(ostream, "  |\n");
   }
 
@@ -162,22 +162,22 @@
   for (i = 0; i < m; i++) {
     for (j = 0; j < n; j++) {
       if (matrix[i][j] < CGLM_PRINT_MAX_TO_SHORT)
-        cwi = sprintf(buff, "% .*f", CGLM_PRINT_PRECISION, matrix[i][j]);
+        cwi = sprintf(buff, "% .*f", CGLM_PRINT_PRECISION, 
(double)matrix[i][j]);
       else
-        cwi = sprintf(buff, "% g", matrix[i][j]);
+        cwi = sprintf(buff, "% g", (double)matrix[i][j]);
       cw[i] = GLM_MAX(cw[i], cwi);
     }
   }
 
   for (i = 0; i < m; i++) {
     fprintf(ostream, "  |");
-    
+
     for (j = 0; j < n; j++)
       if (matrix[i][j] < CGLM_PRINT_MAX_TO_SHORT)
-        fprintf(ostream, " % *.*f", cw[j], CGLM_PRINT_PRECISION, matrix[j][i]);
+        fprintf(ostream, " % *.*f", cw[j], CGLM_PRINT_PRECISION, 
(double)matrix[j][i]);
       else
-        fprintf(ostream, " % *g", cw[j], matrix[j][i]);
-    
+        fprintf(ostream, " % *g", cw[j], (double)matrix[j][i]);
+
     fprintf(ostream, "  |\n");
   }
 
@@ -199,9 +199,9 @@
 
   for (i = 0; i < m; i++) {
     if (vec[i] < CGLM_PRINT_MAX_TO_SHORT)
-      fprintf(ostream, " % .*f", CGLM_PRINT_PRECISION, vec[i]);
+      fprintf(ostream, " % .*f", CGLM_PRINT_PRECISION, (double)vec[i]);
     else
-      fprintf(ostream, " % g", vec[i]);
+      fprintf(ostream, " % g", (double)vec[i]);
   }
 
   fprintf(ostream, "  )" CGLM_PRINT_COLOR_RESET "\n\n");
@@ -221,9 +221,9 @@
 
   for (i = 0; i < m; i++) {
     if (vec[i] < CGLM_PRINT_MAX_TO_SHORT)
-      fprintf(ostream, " % .*f", CGLM_PRINT_PRECISION, vec[i]);
+      fprintf(ostream, " % .*f", CGLM_PRINT_PRECISION, (double)vec[i]);
     else
-      fprintf(ostream, " % g", vec[i]);
+      fprintf(ostream, " % g", (double)vec[i]);
   }
 
   fprintf(ostream, "  )" CGLM_PRINT_COLOR_RESET "\n\n");
@@ -245,7 +245,7 @@
     fprintf(ostream, " % d", vec[i]);
 
   fprintf(ostream, "  )" CGLM_PRINT_COLOR_RESET "\n\n");
-  
+
 #undef m
 }
 
@@ -261,9 +261,9 @@
 
   for (i = 0; i < m; i++) {
     if (vec[i] < CGLM_PRINT_MAX_TO_SHORT)
-      fprintf(ostream, " % .*f", CGLM_PRINT_PRECISION, vec[i]);
+      fprintf(ostream, " % .*f", CGLM_PRINT_PRECISION, (double)vec[i]);
     else
-      fprintf(ostream, " % g", vec[i]);
+      fprintf(ostream, " % g", (double)vec[i]);
   }
 
   fprintf(ostream, "  )" CGLM_PRINT_COLOR_RESET "\n\n");
@@ -283,9 +283,9 @@
 
   for (i = 0; i < m; i++) {
     if (vec[i] < CGLM_PRINT_MAX_TO_SHORT)
-      fprintf(ostream, " % .*f", CGLM_PRINT_PRECISION, vec[i]);
+      fprintf(ostream, " % .*f", CGLM_PRINT_PRECISION, (double)vec[i]);
     else
-      fprintf(ostream, " % g", vec[i]);
+      fprintf(ostream, " % g", (double)vec[i]);
   }
 
 
@@ -307,12 +307,12 @@
 
   for (i = 0; i < 2; i++) {
     fprintf(ostream, "  (");
-    
+
     for (j = 0; j < m; j++) {
       if (bbox[i][j] < CGLM_PRINT_MAX_TO_SHORT)
-        fprintf(ostream, " % .*f", CGLM_PRINT_PRECISION, bbox[i][j]);
+        fprintf(ostream, " % .*f", CGLM_PRINT_PRECISION, (double)bbox[i][j]);
       else
-        fprintf(ostream, " % g", bbox[i][j]);
+        fprintf(ostream, " % g", (double)bbox[i][j]);
     }
 
     fprintf(ostream, "  )\n");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cglm-0.8.8/include/cglm/ivec2.h 
new/cglm-0.8.9/include/cglm/ivec2.h
--- old/cglm-0.8.8/include/cglm/ivec2.h 2022-12-13 18:17:03.000000000 +0100
+++ new/cglm-0.8.9/include/cglm/ivec2.h 2023-01-27 19:01:54.000000000 +0100
@@ -6,7 +6,13 @@
  */
 
 /*
-FUNCTIONS:
+ Macros:
+   GLM_IVEC2_ONE_INIT
+   GLM_IVEC2_ZERO_INIT
+   GLM_IVEC2_ONE
+   GLM_IVEC2_ZERO
+
+ Functions:
   CGLM_INLINE void glm_ivec2(int * __restrict v, ivec2 dest)
   CGLM_INLINE void glm_ivec2_copy(ivec2 a, ivec2 dest)
   CGLM_INLINE void glm_ivec2_zero(ivec2 v)
@@ -30,6 +36,12 @@
 
 #include "common.h"
 
+#define GLM_IVEC2_ONE_INIT   {1, 1}
+#define GLM_IVEC2_ZERO_INIT  {0, 0}
+
+#define GLM_IVEC2_ONE  ((ivec2)GLM_IVEC2_ONE_INIT)
+#define GLM_IVEC2_ZERO ((ivec2)GLM_IVEC2_ZERO_INIT)
+
 /*!
  * @brief init ivec2 using vec3 or vec4
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cglm-0.8.8/include/cglm/ivec3.h 
new/cglm-0.8.9/include/cglm/ivec3.h
--- old/cglm-0.8.8/include/cglm/ivec3.h 2022-12-13 18:17:03.000000000 +0100
+++ new/cglm-0.8.9/include/cglm/ivec3.h 2023-01-27 19:01:54.000000000 +0100
@@ -6,7 +6,13 @@
  */
 
 /*
-FUNCTIONS:
+ Macros:
+   GLM_IVEC3_ONE_INIT
+   GLM_IVEC3_ZERO_INIT
+   GLM_IVEC3_ONE
+   GLM_IVEC3_ZERO
+
+ Functions:
   CGLM_INLINE void glm_ivec3(ivec4 v4, ivec3 dest)
   CGLM_INLINE void glm_ivec3_copy(ivec3 a, ivec3 dest)
   CGLM_INLINE void glm_ivec3_zero(ivec3 v)
@@ -30,6 +36,12 @@
 
 #include "common.h"
 
+#define GLM_IVEC3_ONE_INIT   {1, 1, 1}
+#define GLM_IVEC3_ZERO_INIT  {0, 0, 0}
+
+#define GLM_IVEC3_ONE  ((ivec3)GLM_IVEC3_ONE_INIT)
+#define GLM_IVEC3_ZERO ((ivec3)GLM_IVEC3_ZERO_INIT)
+
 /*!
  * @brief init ivec3 using ivec4
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cglm-0.8.8/include/cglm/ivec4.h 
new/cglm-0.8.9/include/cglm/ivec4.h
--- old/cglm-0.8.8/include/cglm/ivec4.h 2022-12-13 18:17:03.000000000 +0100
+++ new/cglm-0.8.9/include/cglm/ivec4.h 2023-01-27 19:01:54.000000000 +0100
@@ -6,7 +6,13 @@
  */
 
 /*
-FUNCTIONS:
+ Macros:
+   GLM_IVEC4_ONE_INIT
+   GLM_IVEC4_ZERO_INIT
+   GLM_IVEC4_ONE
+   GLM_IVEC4_ZERO
+
+ Functions:
   CGLM_INLINE void glm_ivec4(ivec3 v3, int last, ivec4 dest)
   CGLM_INLINE void glm_ivec4_copy(ivec4 a, ivec4 dest)
   CGLM_INLINE void glm_ivec4_zero(ivec4 v)
@@ -30,6 +36,12 @@
 
 #include "common.h"
 
+#define GLM_IVEC4_ONE_INIT   {1, 1, 1, 1}
+#define GLM_IVEC4_ZERO_INIT  {0, 0, 0, 0}
+
+#define GLM_IVEC4_ONE  ((ivec4)GLM_IVEC4_ONE_INIT)
+#define GLM_IVEC4_ZERO ((ivec4)GLM_IVEC4_ZERO_INIT)
+
 /*!
  * @brief init ivec4 using ivec3
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cglm-0.8.8/include/cglm/version.h 
new/cglm-0.8.9/include/cglm/version.h
--- old/cglm-0.8.8/include/cglm/version.h       2022-12-13 18:17:03.000000000 
+0100
+++ new/cglm-0.8.9/include/cglm/version.h       2023-01-27 19:01:54.000000000 
+0100
@@ -10,6 +10,6 @@
 
 #define CGLM_VERSION_MAJOR 0
 #define CGLM_VERSION_MINOR 8
-#define CGLM_VERSION_PATCH 8
+#define CGLM_VERSION_PATCH 9
 
 #endif /* cglm_version_h */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cglm-0.8.8/meson.build new/cglm-0.8.9/meson.build
--- old/cglm-0.8.8/meson.build  2022-12-13 18:17:03.000000000 +0100
+++ new/cglm-0.8.9/meson.build  2023-01-27 19:01:54.000000000 +0100
@@ -1,5 +1,5 @@
 project('cglm', 'c',
-    version : '0.8.8',
+    version : '0.8.9',
     license : 'mit',
     default_options : [
         'c_std=c11',

Reply via email to