Back to index

php5  5.3.10
Functions
regversion.c File Reference
#include "oniguruma.h"
#include <stdio.h>

Go to the source code of this file.

Functions

const char * onig_version (void)
const char * onig_copyright (void)

Function Documentation

const char* onig_copyright ( void  )

Definition at line 46 of file regversion.c.

{
  static char s[58];

  sprintf(s, "Oniguruma %d.%d.%d : Copyright (C) 2002-2006 K.Kosako",
          ONIGURUMA_VERSION_MAJOR,
          ONIGURUMA_VERSION_MINOR,
          ONIGURUMA_VERSION_TEENY);
  return s;
}
const char* onig_version ( void  )

Definition at line 34 of file regversion.c.

{
  static char s[12];

  sprintf(s, "%d.%d.%d",
          ONIGURUMA_VERSION_MAJOR,
          ONIGURUMA_VERSION_MINOR,
          ONIGURUMA_VERSION_TEENY);
  return s;
}