Lines Matching defs:version
17 #include "version.h"
19 bool sp_version_from_string(const char *string, Inkscape::Version *version)
29 ss >> version->_major;
32 ss >>version->_minor;
37 version->_major = 0;
38 version->_minor = 0;
43 char *sp_version_to_string(Inkscape::Version version)
45 return g_strdup_printf("%u.%u", version._major, version._minor);
48 bool sp_version_inside_range(Inkscape::Version version,
52 if ( version._major < major_min || version._major > major_max ) {
54 } else if ( version._major == major_min &&
55 version._minor <= minor_min )
58 } else if ( version._major == major_max &&
59 version._minor >= minor_max )