1 /* 2 * This file is part of gtkD. 3 * 4 * gtkD is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU Lesser General Public License 6 * as published by the Free Software Foundation; either version 3 7 * of the License, or (at your option) any later version, with 8 * some exceptions, please read the COPYING file. 9 * 10 * gtkD is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU Lesser General Public License for more details. 14 * 15 * You should have received a copy of the GNU Lesser General Public License 16 * along with gtkD; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA 18 */ 19 20 // generated automatically - do not change 21 // find conversion definition on APILookup.txt 22 // implement new conversion functionalities on the wrap.utils pakage 23 24 25 module glgdk.GLVersion; 26 27 private import gtkglc.glgdk; 28 public import gtkglc.glgdktypes; 29 30 31 public struct GLVersion 32 { 33 /** 34 */ 35 36 /** 37 * Returns the GtkGLExt library binary age. 38 * 39 * Return: The binary age of the GtkGLExt library. 40 */ 41 public static int getBinaryAge() 42 { 43 return gdk_gl_get_binary_age(); 44 } 45 46 /** 47 * Returns the GtkGLExt library interface age. 48 * 49 * Return: The interface age of the GtkGLExt library. 50 */ 51 public static int getInterfaceAge() 52 { 53 return gdk_gl_get_interface_age(); 54 } 55 56 /** 57 * Returns the GtkGLExt library major version number. 58 * 59 * Return: The major version number of the GtkGLExt library. 60 */ 61 public static int getMajorVersion() 62 { 63 return gdk_gl_get_major_version(); 64 } 65 66 /** 67 * Returns the GtkGLExt library micro version number. 68 * 69 * Return: The micro version number of the GtkGLExt library. 70 */ 71 public static int getMicroVersion() 72 { 73 return gdk_gl_get_micro_version(); 74 } 75 76 /** 77 * Returns the GtkGLExt library minor version number. 78 * 79 * Return: The minor version number of the GtkGLExt library. 80 */ 81 public static int getMinorVersion() 82 { 83 return gdk_gl_get_minor_version(); 84 } 85 }