Quellcode durchsuchen

pipi.c: add pipi_get_version().

git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2865 92316355-f0b4-4df1-b90c-862c8a59935f
remotes/tiles
sam vor 16 Jahren
Ursprung
Commit
3f9fafa651
2 geänderte Dateien mit 14 neuen und 0 gelöschten Zeilen
  1. +13
    -0
      pipi/pipi.c
  2. +1
    -0
      pipi/pipi.h

+ 13
- 0
pipi/pipi.c Datei anzeigen

@@ -26,6 +26,19 @@
#include "pipi.h"
#include "pipi_internals.h"

/** \brief Return the \e libpipi version.
*
* Return a read-only string with the \e libpipi version information.
*
* This function never fails.
*
* \return The \e libpipi version information.
*/
char const * pipi_get_version(void)
{
return PACKAGE_VERSION;
}

/*
static int init = 0;



+ 1
- 0
pipi/pipi.h Datei anzeigen

@@ -114,6 +114,7 @@ pipi_command_t;

extern pipi_pixel_t *pipi_get_color_from_string(const char* s);

char const * pipi_get_version(void);

extern pipi_context_t *pipi_create_context(void);
extern void pipi_destroy_context(pipi_context_t *);


Laden…
Abbrechen
Speichern