Commit Graph

19 Commits

Author SHA1 Message Date
8d57d6056b sq_getinstanceup adds throwerror parameter 2021-06-22 17:56:46 +08:00
d1f54757c2 some doc updates and fixes 2021-06-02 18:47:46 +08:00
186e722c05 Fix docs typo: trough -> through 2019-08-10 20:55:40 -04:00
665b5b1c5d Make params count type signed in sq_getclosureinfo()
For native closures this method returns _nparamscheck value
which can be negative when function accepts variable number of
arguments - and it's incorrect to cast it to unsigned.

Also, _nparameters, _noutervalues and _nparamscheck fields are
actually signed integers, so it is better to keep them signed.
And casting _noutervalues is ok since it has enough capacity.
2018-07-20 09:49:38 +03:00
7d589eb444 Fix some small bugs in the documentation examples. 2017-11-20 15:35:44 +01:00
5460758eb0 some doc on sq_tailcall 2017-11-17 04:14:15 +08:00
26a655a503 Clarify that sq_newclass pushes the new class in the stack. 2017-11-14 13:29:44 +01:00
00b4d3abd1 Normalize whitespace.
Strip trailing whitespace, de-tabify and ensure that each file
ends with a newline.
2017-06-14 14:09:53 +02:00
7290b1fffe docs & error message tidy 2016-06-19 15:44:00 -05:00
3c4098da84 small docs fixes. small typo fixes in sqapi.cpp error messages 2016-06-13 20:19:32 -05:00
9004743fc4 docs for sq_getstringandssize 2016-05-15 01:00:47 -05:00
5b50a56e56 docs fixes and formatting 2016-05-05 10:23:55 -05:00
78b44c851b add a note to push a dummy value for sq_call when constructing an instance. this just cost me a lot of time! 2016-04-18 06:44:14 -05:00
b35c9e827c fix various typos and incompletely apply very lightweight formatting normalization; clarify sq_getbyhandle applies to class or instance 2016-04-18 06:44:14 -05:00
a70a135192 clarify sq_getmemberhandle - it only works on classes. not sure what vice-versa meant 2016-04-14 18:25:00 -05:00
2f6419f19b clarify sq_cmp 2016-04-14 18:13:13 -05:00
d02fa17be2 small typo and grammar fixes 2016-04-14 18:07:37 -05:00
14ac45d285 Fix minor spelling mistakes 2016-04-03 17:48:40 +02:00
9c95df0631 added documentation sources 2016-03-14 23:35:04 +08:00