Add synonimous for pointers.

This commit is contained in:
Patrick Pelissier committed 2018-08-19 20:27:45 +02:00
1 parent 0fa7aed1c4
commit 0de829741a
2 files changed
+4

No files matched your search

+2
View File
@@ -39,6 +39,8 @@ typedef struct bitset_s {
size_t alloc; // Alloc is the number of allocated limbs
bitset_limb *ptr; // Pointer to the allocated limbs
} bitset_t[1];
typedef struct bitset_s *bitset_ptr;
typedef const struct bitset_s bitset_srcptr;
typedef struct bitset_it_s {
size_t index; // index to the array of bit
+2
View File
@@ -73,6 +73,8 @@ typedef struct string_s {
size_t size, alloc;
char *ptr;
} string_t[1];
typedef struct string_s *string_ptr;
typedef const struct string_s string_srcptr;
/* Input option for the fgets function */
typedef enum string_fgets_s {