Commit Graph

51 Commits

Author SHA1 Message Date
7d8159d194 Added a meson build file
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-31 16:16:34 +02:00
0f91f5373c Fixed multiple shortnames in ev_vec
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-31 16:16:02 +02:00
94d6c4d8be Added some limitations on ev_svec_t so that it can be used in global scope
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-30 16:18:39 +00:00
757d9d5ae8 Fixed ev_vec_setlen bug
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-30 16:18:02 +00:00
7ec5d242aa Moved EV_STR_evstring_MAGIC to header part so that evstr(...) can use it
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-30 16:17:21 +00:00
34450de16d Parenthesized EV_INVALID and EV_DEFAULT macro expansions
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-30 16:16:34 +00:00
e0acb5b08a Disabled -Woverride-init in TYPEDATA_GEN
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-30 15:26:57 +00:00
88e2393000 Added EV_PRAGMA and EV_WARNING_* macros
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-30 15:23:32 +00:00
c373f03490 Fixed unused-const-variable in ev_types
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-30 14:33:34 +00:00
32dc1e1a81 Added a simple str_test.c
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-29 20:01:57 +00:00
3fae966f63 Added EV_VA_OPT_ELSE to ev_macros
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-29 20:01:25 +00:00
b0be90cbba Added initial ev_str implementaiton
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-29 20:00:59 +00:00
9af63bac9c Fixed void pointer dereferencing in ev_types
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-23 18:42:11 +00:00
b6e1fdc6fc Removed useless DEFAULT/INVALID
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-07 22:00:36 +00:00
82ad4b4bfb Changed how types are registered
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-05 23:11:20 +02:00
5b22053ff3 Number types changes
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-05 22:14:29 +02:00
140a0b4d34 Added EV_REGISTER_TYPE
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-05 21:42:19 +02:00
2d02e4cc66 Added EV_EQUAL function
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-05 03:55:17 +02:00
57f0533f84 Added bool to ev_internal
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-05 03:37:23 +02:00
af1ab56872 Changed ev_hash_fn signature and added default murmur3
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-05 03:26:03 +02:00
b68f56840e Changed murmur3 to take a 64-bit seed
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-05 03:25:38 +02:00
025acf4c97 Added ev_hash for hash functions
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-05 03:18:15 +02:00
0557a45481 Added EV_FORCEINLINE
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-05 03:18:01 +02:00
450ba063cf Added ev_vec.h
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-03 23:04:40 +02:00
2cf3f76e70 Fixed typo in ev_types
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-03 23:04:25 +02:00
aecab5e5d7 Added const macros for numeric types
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-03 23:04:09 +02:00
e0cb295f65 Updated ev_types
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-03 13:56:27 +02:00
bd2b3acec6 Added EV_VA_OPT
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-03 00:02:16 +02:00
e199c69315 Added some macros for internal usage
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-03 00:01:59 +02:00
811f644dec Fixed EV_VA_ARGS_NARG for zero-size
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-02 22:12:30 +02:00
4080e7299b Started using ev_types in ev_numeric, added ev_internal
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-02 15:13:17 +02:00
2ce705baee Added ev_types for type metadata management
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-02 14:53:00 +02:00
30e40047c5 Merged ev_types and ev_limits to ev_numeric
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-02 14:51:59 +02:00
c5b6d7ba15 Fixed EV_FOREACH's UDATA variant
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2022-01-02 14:51:08 +02:00
632cdd8765 Added EV_FOREACH_UDATA
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2021-12-30 18:39:08 +02:00
f25acf244d Added EV_HEAD and EV_TAIL
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2021-12-30 18:34:28 +02:00
d60b2ebdb3 Added EV_DBGBREAK_IF to ev_macros
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2021-12-29 16:58:19 +02:00
dbbea40bc3 Added EV_BUILDTYPE_{DEBUG,DEBUGOPT,RELEASE} to defines.h
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2021-12-29 16:55:24 +02:00
b2a1f3bc1c Merge branch 'master' of https://github.com/evol3d/evol-headers 2021-12-29 16:48:15 +02:00
7f9c0691c0 Updated ev_macros.h use of defines
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2021-12-29 16:47:44 +02:00
e85e4ee46e Updated defines.h
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2021-12-29 16:47:15 +02:00
350c8ebcbe Merge pull request #5 from evol3D/types
Adding numeric types and limits
2021-12-28 15:22:37 +02:00
7168de8524 Added floating-point types and limits
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2021-12-28 15:08:43 +02:00
1af5237371 Added integer types and limits
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2021-12-27 23:18:23 +02:00
9397ad895f Merge pull request #2 from evol3D/macros
Macros header improvements
2021-12-19 22:26:22 +02:00
cca02595c4 Updated EV_STRINGIZE
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2021-12-19 22:17:08 +02:00
38d9541367 Added some doxygen comments to ev_macros
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2021-12-19 22:15:47 +02:00
c45062ebda Added more macros to the header
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2021-12-19 22:05:57 +02:00
b97af96f7f Added the macros header
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2021-12-19 01:13:46 +02:00
eb01323d6c Added initial defines header
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2021-12-19 01:11:13 +02:00