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 /** */ 32 public struct GLVersion 33 { 34 35 /** 36 * Returns the GtkGLExt library binary age. 37 * 38 * Return: The binary age of the GtkGLExt library. 39 */ 40 public static int getBinaryAge() 41 { 42 return gdk_gl_get_binary_age(); 43 } 44 45 /** 46 * Returns the GtkGLExt library interface age. 47 * 48 * Return: The interface age of the GtkGLExt library. 49 */ 50 public static int getInterfaceAge() 51 { 52 return gdk_gl_get_interface_age(); 53 } 54 55 /** 56 * Returns the GtkGLExt library major version number. 57 * 58 * Return: The major version number of the GtkGLExt library. 59 */ 60 public static int getMajorVersion() 61 { 62 return gdk_gl_get_major_version(); 63 } 64 65 /** 66 * Returns the GtkGLExt library micro version number. 67 * 68 * Return: The micro version number of the GtkGLExt library. 69 */ 70 public static int getMicroVersion() 71 { 72 return gdk_gl_get_micro_version(); 73 } 74 75 /** 76 * Returns the GtkGLExt library minor version number. 77 * 78 * Return: The minor version number of the GtkGLExt library. 79 */ 80 public static int getMinorVersion() 81 { 82 return gdk_gl_get_minor_version(); 83 } 84 }