mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Added equality function types to autocomplete
This commit is contained in:
parent
140deeb566
commit
4b4359d09f
@ -28,6 +28,8 @@
|
|||||||
typedef struct p_autocomplete_t *PAutocomplete;
|
typedef struct p_autocomplete_t *PAutocomplete;
|
||||||
typedef const char * (*PStrFunc)(const void *obj);
|
typedef const char * (*PStrFunc)(const void *obj);
|
||||||
typedef void * (*PCopyFunc)(const void *obj);
|
typedef void * (*PCopyFunc)(const void *obj);
|
||||||
|
typedef int (*PEqualFunc)(const void *o1, const void *o2);
|
||||||
|
typedef int (*PEqualDeepFunc)(const void *o1, const void *o2);
|
||||||
|
|
||||||
PAutocomplete p_autocomplete_new(void);
|
PAutocomplete p_autocomplete_new(void);
|
||||||
PAutocomplete p_obj_autocomplete_new(PStrFunc str_func, PCopyFunc copy_func,
|
PAutocomplete p_obj_autocomplete_new(PStrFunc str_func, PCopyFunc copy_func,
|
||||||
|
Loading…
Reference in New Issue
Block a user