add comment

pull/10/head
yuqing 2016-05-16 09:20:28 +08:00
parent 5cb9066ed1
commit ce39cdd497
2 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@
#define MAJOR_VERSION 1 #define MAJOR_VERSION 1
#define MINOR_VERSION 0 #define MINOR_VERSION 0
#define PATCH_VERSION 5 #define PATCH_VERSION 6
#define DEFAULT_SN_FILENAME "/tmp/fastcommon_id_generator.sn" #define DEFAULT_SN_FILENAME "/tmp/fastcommon_id_generator.sn"
@ -421,7 +421,7 @@ ZEND_FUNCTION(fastcommon_id_generator_init)
} }
/* /*
long/string fastcommon_id_generator_next([int extra]) long/string fastcommon_id_generator_next([int extra = 0])
return id for success, false for fail return id for success, false for fail
return long in 64 bits OS, return string in 32 bits Os return long in 64 bits OS, return string in 32 bits Os
*/ */