Commit graph

8 commits

Author SHA1 Message Date
Tact Yoshida
fb27cf0e42 Use std::minmax_element 2020-02-04 05:13:08 +09:00
luzpaz
27707d841e Fix misc. source comment and doxygen typos in ./toonz/sources/toonzlib (#2740)
* Fix misc. source comment and doxygen typos in ./toonz/sources/toonzlib
Found via `codespell -q 3 -S *.ts,./thirdparty -L dum,inbetween,sinc,uint ./toonz/sources/toonzlib`
2019-09-02 17:49:49 +09:00
shun-iwasawa
4f9e2cbf02 fix crash on convert to vector (#2651) 2019-07-10 23:06:53 -06:00
shun-iwasawa
27b0cfd38c clang formatting (#703) 2016-08-04 16:23:36 +09:00
Campbell Barton
b3bd842e04 Make functions static, ensure declarations match headers (#610)
This patch used -Wmissing-declarations warning
to show functions and symbols that had no declarations, and either:

- Make static
- Add to header

This helps avoid possability that declarations and functions get out of sync.
And ensures all source files reference headers correctly.

It also makes sure functions defined with extern "C",
have this defined in the header. An error found in calligraph.h while writing this patch.

This has been applied to toonzlib, to avoid making very large global changes.
If accepted, -Wmissing-declarations warning could be added to CMake.
2016-07-13 21:05:06 +09:00
Shinya Kitaoka
120a6e041c apply clang-format 2016-06-15 15:43:10 +09:00
Shinya Kitaoka
12c444ee0d use std::min and std::max (#318) 2016-05-18 13:03:37 +09:00
Toshihiro Shimizu
890dddabbd first commit 2016-03-19 02:57:51 +09:00