summaryrefslogtreecommitdiffhomepage
path: root/docs
AgeCommit message (Collapse)Author
2021-11-21BREAKING CHANGE: Replaced c_new(T) with c_new(T, ...). This now is similar ↵Tyge Løvset
to the c++ new operator. The previous c_new(T) is renamed to c_alloc(T), and c_new_n(T,n) => c_alloc_n(T,n). Old usage of c_new() will fail as it requires additional argument. Sorry for the inconvenience.
2021-11-21Changed reverse() and resize() to return false if mem alloc failed.Tyge Løvset
2021-11-20Added carr_X_idx().Tyge Løvset
2021-11-10Updated coption.Tyge Lovset
2021-11-10Added back coption.hTyge Løvset
2021-11-03Renamed cnt_X_getmut() to cnt_X_get_mut().Tyge Lovset
2021-11-03Docs text alignmentsTyge Løvset
2021-11-03Removed carrN_elem(). Added assert in carrN_at().Tyge Løvset
2021-11-03Changed carrN_X_at() to return const value*. Added mutable carrN_X_elem().Tyge Løvset
2021-11-03Update container_X_getmut() for mutable version.Tyge Løvset
2021-11-03Changed container_X_get() and container_X_at() to return const value* (or ↵Tyge Løvset
const mapped*). Added container_X_getmut() for mutable version. Updated docs.
2021-10-30Fixed docs alignments.Tyge Løvset
2021-10-29Swapped .._equals() and _equalto() functions for consistencyTyge Løvset
2021-10-29Renamed ..._value_t -> ..._value, etc. Deprecated, still works for cvec, ↵Tyge Løvset
cdeq, cmap, csmap, cslist
2021-10-26Added some examples and updated docs. Removed cvec_X_erase() and ↵Tyge Løvset
cdeq_X_erase() - may be used wrong. Use cvec_X_erase_n() instead. Fixed type-bug in cpque.h (same was in cqueue.h).
2021-10-18Updated csmap_api.md examplesTyge Løvset
2021-10-13Maintenance update. template.h now includes cstr.h when i_key_str or ↵Tyge Løvset
i_val_str is defined. Minor optimizations.
2021-10-06Some while to for changed. Return value for cstack_X_push/emplace. Docs updated.Tyge Løvset
2021-10-05Changed recommended order of defining template parameters.Tyge Løvset
2021-10-04Added c_autodefer() macro (again). Depressed warning with c_no_compare().Tyge Løvset
2021-10-04Fixed a small bug and simplified template.hTyge Løvset
2021-09-29Changed how to specify shared pointers in containers.Tyge Løvset
2021-09-28Added c_apply_n() and c_apply_pair_n() macros. Rewrote cpque.c example.Tyge Løvset
2021-09-26More docs work.Tyge Løvset
2021-09-26Added some extensions to cstack and cpque. cstack can now be used as a ↵Tyge Løvset
vector-lite.
2021-09-24Another reorg. of csptr docs.Tyge Løvset
2021-09-24Merge branch 'master' of github.com:tylov/STC into masterTyge Løvset
2021-09-24Reworked csptr docs. Made static members to inline (ccommon.h).Tyge Løvset
2021-09-23Update csmap_api.mdTyge Løvset
2021-09-23fixed doc bugsTyge Løvset
2021-09-23Cleanup: Replaced c_emplace() macro with more general ↵Tyge Løvset
c_apply()/c_apply_pair() macros, and removed c_var() macro. Removed CX_emplace_items() member functions in containers used by c_emplace().
2021-09-23Added sptr_ex.c example + minors.Tyge Løvset
2021-09-23Some more documentation in README.md.Tyge Løvset
Added support for i_del template arg/define for destroy function. For maps, i_keydel / i_valdel is still required and error is given if i_del is defined.
2021-09-22Renamed Value => i_val in documentation.Tyge Løvset
2021-09-22Reworked shared pointers, with some smaller API changes.Tyge Løvset
2021-09-21Added copy(self, other) function to all containers. Fixed some docs.Tyge Løvset
2021-09-21Fixed input args documentation. Fixed carr2 and carr3 clone functions.Tyge Løvset
2021-09-20Renamed macros: breaking changes for Version 2.0!Tyge Lovset
c_forvar => c_autovar c_forscope => c_autoscope c_forauto => c_auto Removed: c_fordefer(x); use c_forscope(0, x) instead. Added: c_exitauto; // continue
2021-09-19Corrected example output.Tyge Løvset
2021-09-19Replaced the two csptr doc examples with a better one. Same as sharedptr.c ↵Tyge Løvset
in examples.
2021-09-19Fixed errors caused by gcc -std=c99 -pedantic.Tyge Løvset
2021-09-19Preparation for merging in V2.0 to master branch.Tyge Løvset
2021-09-17Added example sharedptr.c and fixed some doc.Tyge Løvset
2021-09-17Fixed a doc bug and improved example.Tyge Løvset
2021-09-17Added back (carr3) carray3 in demos.c.Tyge Løvset
2021-09-17Updated docs.Tyge Løvset
Added i_key_csptr, i_val_csptr input macros for very easy usage of shared pointers in containers.
2021-09-13Removed most of the case-insensitive cstr methods, as they won't work with ↵Tyge Løvset
utf-8.
2021-09-11Fixed docs for newstyle.Tyge Løvset
2021-09-09Fix c_rawstr_hash docs.Tyge Løvset
2021-09-09Updated examples in docs.Tyge Løvset