Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for libplaton/platon/str/dynfgets.h between version 1.6 and 1.7

version 1.6, 2002/08/16 20:31:43 version 1.7, 2002/08/27 13:12:33
Line 3 
Line 3 
   
 #include <stdio.h>  #include <stdio.h>
   
   #ifndef PLATON_FUNC
   # define PLATON_FUNC(_name) _name
   #endif
   #ifndef PLATON_FUNC_STR
   # define PLATON_FUNC_STR(_name) #_name
   #endif
   
 /* Size of input buffer. In others words, size of realloc() step. */  /* Size of input buffer. In others words, size of realloc() step. */
 #define DYNAMIC_FGETS_BUFSIZE   (128)  #define DYNAMIC_FGETS_BUFSIZE   (128)
   
Line 18  extern "C" {
Line 25  extern "C" {
  * Returns line in dynamically allocated buffer. Length of line is unlimited.   * Returns line in dynamically allocated buffer. Length of line is unlimited.
  * On end of file or not of memory error returns NULL.   * On end of file or not of memory error returns NULL.
  */   */
 #ifdef PLATON_PREFIX          char *PLATON_FUNC(dynamic_fgets)(FILE *fp);
         char *FUNCTION(dynamic_fgets)(FILE *fp);  
 #else  
         char *dynamic_fgets(FILE *fp);  
 #endif  
   
 #ifdef __cplusplus  #ifdef __cplusplus
 }  }

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top