slang.h   slang.h 
skipping to change at line 25 skipping to change at line 25
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details. General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this library; if not, write to the Free Software along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
USA. USA.
*/ */
#define SLANG_VERSION 20004 #define SLANG_VERSION 20005
#define SLANG_VERSION_STRING "2.0.4" #define SLANG_VERSION_STRING "2.0.5"
/* #ifdef __DATE__ */ /* #ifdef __DATE__ */
/* # define SLANG_VERSION_STRING SLANG_VERSION_STRING0 " " __DATE__ */ /* # define SLANG_VERSION_STRING SLANG_VERSION_STRING0 " " __DATE__ */
/* #else */ /* #else */
/* # define SLANG_VERSION_STRING SLANG_VERSION_STRING0 */ /* # define SLANG_VERSION_STRING SLANG_VERSION_STRING0 */
/* #endif */ /* #endif */
/*{{{ System Dependent Macros and Typedefs */ /*{{{ System Dependent Macros and Typedefs */
#if defined(__WATCOMC__) && defined(DOS) #if defined(__WATCOMC__) && defined(DOS)
# ifndef __MSDOS__ # ifndef __MSDOS__
# define __MSDOS__ # define __MSDOS__
skipping to change at line 707 skipping to change at line 707
SL_EXTERN int SLclass_set_aput_function (SLang_Class_Type *, int (*)(SLtype , unsigned int)); SL_EXTERN int SLclass_set_aput_function (SLang_Class_Type *, int (*)(SLtype , unsigned int));
SL_EXTERN int SLclass_set_anew_function (SLang_Class_Type *, int (*)(SLtype , unsigned int)); SL_EXTERN int SLclass_set_anew_function (SLang_Class_Type *, int (*)(SLtype , unsigned int));
SL_EXTERN int SLclass_set_sget_function (SLang_Class_Type *, int (*)(SLtype , char *)); SL_EXTERN int SLclass_set_sget_function (SLang_Class_Type *, int (*)(SLtype , char *));
SL_EXTERN int SLclass_set_sput_function (SLang_Class_Type *, int (*)(SLtype , char *)); SL_EXTERN int SLclass_set_sput_function (SLang_Class_Type *, int (*)(SLtype , char *));
SL_EXTERN int SLclass_set_acopy_function (SLang_Class_Type *, int (*)(SLtyp e, VOID_STAR, VOID_STAR)); SL_EXTERN int SLclass_set_acopy_function (SLang_Class_Type *, int (*)(SLtyp e, VOID_STAR, VOID_STAR));
SL_EXTERN int SLclass_set_deref_function (SLang_Class_Type *, int (*)(SLtyp e, VOID_STAR)); SL_EXTERN int SLclass_set_deref_function (SLang_Class_Type *, int (*)(SLtyp e, VOID_STAR));
SL_EXTERN int SLclass_set_eqs_function (SLang_Class_Type *, int (*)(SLtype, VOID_STAR, SLtype, VOID_STAR)); SL_EXTERN int SLclass_set_eqs_function (SLang_Class_Type *, int (*)(SLtype, VOID_STAR, SLtype, VOID_STAR));
SL_EXTERN int SLclass_set_is_container (SLang_Class_Type *, int); SL_EXTERN int SLclass_set_length_function (SLang_Class_Type *, int(*)(SLtyp e, VOID_STAR, unsigned int *));
SL_EXTERN int SLclass_set_is_container (SLang_Class_Type *, int);
SL_EXTERN int SLclass_set_foreach_functions ( SL_EXTERN int SLclass_set_foreach_functions (
SLang_Class_Type *, SLang_Class_Type *,
SLang_Foreach_Context_Type *(*)(SLtype, unsigned int), /* open method * / SLang_Foreach_Context_Type *(*)(SLtype, unsigned int), /* open method * /
int (*)(SLtype, SLang_Foreach_Context_Type *), /* foreach method */ int (*)(SLtype, SLang_Foreach_Context_Type *), /* foreach method */
void (*)(SLtype, SLang_Foreach_Context_Type *));/* close method */ void (*)(SLtype, SLang_Foreach_Context_Type *));/* close method */
/* Typecast object on the stack to type p1. p2 and p3 should be set to 1 * / /* Typecast object on the stack to type p1. p2 and p3 should be set to 1 * /
SL_EXTERN int SLclass_typecast (SLtype, int, int); SL_EXTERN int SLclass_typecast (SLtype, int, int);
#define SLMATH_SIN 1 #define SLMATH_SIN 1
skipping to change at line 1283 skipping to change at line 1284
SL_EXTERN long SLatol (unsigned char *); SL_EXTERN long SLatol (unsigned char *);
SL_EXTERN unsigned long SLatoul (unsigned char *); SL_EXTERN unsigned long SLatoul (unsigned char *);
#if HAVE_LONG_LONG #if HAVE_LONG_LONG
SL_EXTERN long long SLatoll (unsigned char *s); SL_EXTERN long long SLatoll (unsigned char *s);
SL_EXTERN unsigned long long SLatoull (unsigned char *s); SL_EXTERN unsigned long long SLatoull (unsigned char *s);
#endif #endif
SL_EXTERN int SLang_pop_fileptr (SLang_MMT_Type **, FILE **); SL_EXTERN int SLang_pop_fileptr (SLang_MMT_Type **, FILE **);
SL_EXTERN char *SLang_get_name_from_fileptr (SLang_MMT_Type *); SL_EXTERN char *SLang_get_name_from_fileptr (SLang_MMT_Type *);
SL_EXTERN int SLang_get_fileptr (SLang_MMT_Type *, FILE **);
/* This function may be used to obtain the FILE* object associated with an
MMT.
* It returns 0 if no-errors were encountered, and -1 otherwise.
* If FILE* object has been closed, this function will return 0 and set the
FILE*
* parameter to NULL.
*/
typedef struct _pSLFile_FD_Type SLFile_FD_Type; typedef struct _pSLFile_FD_Type SLFile_FD_Type;
SL_EXTERN SLFile_FD_Type *SLfile_create_fd (char *, int); SL_EXTERN SLFile_FD_Type *SLfile_create_fd (char *, int);
SL_EXTERN void SLfile_free_fd (SLFile_FD_Type *); SL_EXTERN void SLfile_free_fd (SLFile_FD_Type *);
SL_EXTERN int SLfile_push_fd (SLFile_FD_Type *); SL_EXTERN int SLfile_push_fd (SLFile_FD_Type *);
SL_EXTERN int SLfile_pop_fd (SLFile_FD_Type **); SL_EXTERN int SLfile_pop_fd (SLFile_FD_Type **);
SL_EXTERN int SLfile_get_fd (SLFile_FD_Type *, int *); SL_EXTERN int SLfile_get_fd (SLFile_FD_Type *, int *);
SL_EXTERN SLFile_FD_Type *SLfile_dup_fd (SLFile_FD_Type *f0); SL_EXTERN SLFile_FD_Type *SLfile_dup_fd (SLFile_FD_Type *f0);
SL_EXTERN int SLang_init_posix_io (void); SL_EXTERN int SLang_init_posix_io (void);
typedef double (*SLang_To_Double_Fun_Type)(VOID_STAR); typedef double (*SLang_To_Double_Fun_Type)(VOID_STAR);
 End of changes. 4 change blocks. 
3 lines changed or deleted 13 lines changed or added


 slcurses.h   slcurses.h 
skipping to change at line 128 skipping to change at line 128
#define wmove SLcurses_wmove #define wmove SLcurses_wmove
#define newwin SLcurses_newwin #define newwin SLcurses_newwin
#define wnoutrefresh SLcurses_wnoutrefresh #define wnoutrefresh SLcurses_wnoutrefresh
#define werase(w) SLcurses_wmove((w),0,0); SLcurses_wclrtobot(w) #define werase(w) SLcurses_wmove((w),0,0); SLcurses_wclrtobot(w)
#define wclear(w) SLcurses_wmove((w),0,0); SLcurses_wclrtobot(w) #define wclear(w) SLcurses_wmove((w),0,0); SLcurses_wclrtobot(w)
#define wprintw SLcurses_wprintw #define wprintw SLcurses_wprintw
#define mvwprintw SLcurses_mvwprintw #define mvwprintw SLcurses_mvwprintw
#define winch(w) \ #define winch(w) \
((((w)->_cury < (w)->nrows) && ((w)->_curx < (w)->ncols)) \ ((((w)->_cury < (w)->nrows) && ((w)->_curx < (w)->ncols)) \
? ((w)->lines[(w)->_cury][(w)->_curx]) : 0) ? ((w)->lines[(w)->_cury][(w)->_curx].main) : 0)
#define inch() winch(stdscr) #define inch() winch(stdscr)
#define mvwinch(w,x,y) \ #define mvwinch(w,x,y) \
((-1 != wmove((w),(x),(y))) ? winch(w) : (-1)) ((-1 != wmove((w),(x),(y))) ? winch(w) : (-1))
#define doupdate SLsmg_refresh #define doupdate SLsmg_refresh
#define mvwin(w,a,b) ((w)->_begy = (a), (w)->_begx = (b)) #define mvwin(w,a,b) ((w)->_begy = (a), (w)->_begx = (b))
extern int SLcurses_mvprintw (int, int, char *, ...); extern int SLcurses_mvprintw (int, int, char *, ...);
extern int SLcurses_mvwprintw (SLcurses_Window_Type *, int, int, char *, .. .); extern int SLcurses_mvwprintw (SLcurses_Window_Type *, int, int, char *, .. .);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/