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 20100 | #define SLANG_VERSION 20101 | |||
#define SLANG_VERSION_STRING "2.1.0-0" | #define SLANG_VERSION_STRING "2.1.1" | |||
/* #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 834 | skipping to change at line 834 | |||
SL_EXTERN SLang_MMT_Type *SLang_create_mmt (SLtype, VOID_STAR); | SL_EXTERN SLang_MMT_Type *SLang_create_mmt (SLtype, VOID_STAR); | |||
SL_EXTERN int SLang_push_mmt (SLang_MMT_Type *); | SL_EXTERN int SLang_push_mmt (SLang_MMT_Type *); | |||
SL_EXTERN SLang_MMT_Type *SLang_pop_mmt (SLtype); | SL_EXTERN SLang_MMT_Type *SLang_pop_mmt (SLtype); | |||
SL_EXTERN void SLang_inc_mmt (SLang_MMT_Type *); | SL_EXTERN void SLang_inc_mmt (SLang_MMT_Type *); | |||
/* Maximum number of dimensions of an array. */ | /* Maximum number of dimensions of an array. */ | |||
#define SLARRAY_MAX_DIMS 7 | #define SLARRAY_MAX_DIMS 7 | |||
typedef int SLindex_Type; | typedef int SLindex_Type; | |||
typedef unsigned int SLuindex_Type; | typedef unsigned int SLuindex_Type; | |||
#define SLANG_ARRAY_INDEX_TYPE SLANG_INT_TYPE | #define SLANG_ARRAY_INDEX_TYPE SLANG_INT_TYPE | |||
extern int SLang_pop_array_index (SLindex_Type *); | ||||
typedef struct _pSLang_Array_Type | typedef struct _pSLang_Array_Type | |||
{ | { | |||
SLtype data_type; | SLtype data_type; | |||
unsigned int sizeof_type; | unsigned int sizeof_type; | |||
VOID_STAR data; | VOID_STAR data; | |||
SLuindex_Type num_elements; | SLuindex_Type num_elements; | |||
unsigned int num_dims; | unsigned int num_dims; | |||
SLindex_Type dims [SLARRAY_MAX_DIMS]; | SLindex_Type dims [SLARRAY_MAX_DIMS]; | |||
VOID_STAR (*index_fun)_PROTO((struct _pSLang_Array_Type *, SLindex_Type *)); | VOID_STAR (*index_fun)_PROTO((struct _pSLang_Array_Type *, SLindex_Type *)); | |||
/* This function is designed to allow a type to store an array in | /* This function is designed to allow a type to store an array in | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 3 lines changed or added | |||