mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-04 04:44:16 +01:00
committed by
Carlos R. Mafra
parent
3c847aa52b
commit
091c9c366d
@@ -156,20 +156,10 @@ typedef int WMArrayIterator;
|
|||||||
typedef void *WMBagIterator;
|
typedef void *WMBagIterator;
|
||||||
|
|
||||||
|
|
||||||
#if 0
|
|
||||||
typedef struct {
|
|
||||||
char character; /* the escape character */
|
|
||||||
char *value; /* value to place */
|
|
||||||
} WMSEscapes;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
typedef void WMNotificationObserverAction(void *observerData,
|
typedef void WMNotificationObserverAction(void *observerData,
|
||||||
WMNotification *notification);
|
WMNotification *notification);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*......................................................................*/
|
/*......................................................................*/
|
||||||
|
|
||||||
typedef void waborthandler(int);
|
typedef void waborthandler(int);
|
||||||
@@ -211,8 +201,6 @@ void* wmalloc(size_t size);
|
|||||||
void* wrealloc(void *ptr, size_t newsize);
|
void* wrealloc(void *ptr, size_t newsize);
|
||||||
void wfree(void *ptr);
|
void wfree(void *ptr);
|
||||||
|
|
||||||
#define wnew(type, count) wmalloc(sizeof(type)*count)
|
|
||||||
|
|
||||||
void wrelease(void *ptr);
|
void wrelease(void *ptr);
|
||||||
void* wretain(void *ptr);
|
void* wretain(void *ptr);
|
||||||
|
|
||||||
@@ -247,9 +235,6 @@ char* wtrimspace(const char *s);
|
|||||||
|
|
||||||
|
|
||||||
WMRange wmkrange(int start, int count);
|
WMRange wmkrange(int start, int count);
|
||||||
#ifdef ANSI_C_DOESNT_LIKE_IT_THIS_WAY
|
|
||||||
#define wmkrange(position, count) (WMRange){(position), (count)}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
char* wusergnusteppath(void);
|
char* wusergnusteppath(void);
|
||||||
@@ -259,11 +244,6 @@ char* wglobaldefaultspathfordomain(const char *domain);
|
|||||||
|
|
||||||
void wusleep(unsigned int microsec);
|
void wusleep(unsigned int microsec);
|
||||||
|
|
||||||
#if 0
|
|
||||||
int wsprintesc(char *buffer, int length, char *format, WMSEscapes **escapes,
|
|
||||||
int count);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*......................................................................*/
|
/*......................................................................*/
|
||||||
|
|
||||||
/* Event handlers: timer, idle, input */
|
/* Event handlers: timer, idle, input */
|
||||||
@@ -392,8 +372,6 @@ void WMAppendArray(WMArray *array, WMArray *other);
|
|||||||
/* add will place the element at the end of the array */
|
/* add will place the element at the end of the array */
|
||||||
void WMAddToArray(WMArray *array, void *item);
|
void WMAddToArray(WMArray *array, void *item);
|
||||||
|
|
||||||
#define WMPushInArray(array, item) WMAddToArray(array, item)
|
|
||||||
|
|
||||||
/* insert will increment the index of elements after it by 1 */
|
/* insert will increment the index of elements after it by 1 */
|
||||||
void WMInsertInArray(WMArray *array, int index, void *item);
|
void WMInsertInArray(WMArray *array, int index, void *item);
|
||||||
|
|
||||||
|
|||||||
@@ -52,8 +52,8 @@ WINGS_VERSION=$WINGS_CURRENT:$WINGS_REVISION:$WINGS_AGE
|
|||||||
AC_SUBST(WINGS_VERSION)
|
AC_SUBST(WINGS_VERSION)
|
||||||
dnl
|
dnl
|
||||||
dnl libWUtil
|
dnl libWUtil
|
||||||
WUTIL_CURRENT=1
|
WUTIL_CURRENT=2
|
||||||
WUTIL_REVISION=2
|
WUTIL_REVISION=0
|
||||||
WUTIL_AGE=0
|
WUTIL_AGE=0
|
||||||
WUTIL_VERSION=$WUTIL_CURRENT:$WUTIL_REVISION:$WUTIL_AGE
|
WUTIL_VERSION=$WUTIL_CURRENT:$WUTIL_REVISION:$WUTIL_AGE
|
||||||
AC_SUBST(WUTIL_VERSION)
|
AC_SUBST(WUTIL_VERSION)
|
||||||
|
|||||||
Reference in New Issue
Block a user