04cf1c2ed0
Add optional initializer to array.reduce()
2018-10-31 18:07:25 +03: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
f4665e155e
now container modification methods return object itself in all cases
...
for easy chaining
2018-05-29 02:33:19 +03:00
4a8ed6a67a
Typo e.g. "it's"
2018-04-11 10:28:02 +00:00
453a966890
Merge pull request #119 from VasiliyRyabtsev/feature/table-filter
...
Implement table.filter() default delegate in base library
2017-12-05 16:28:35 +08:00
c10a777285
Add optional message text parameter for assert()
2017-12-01 11:49:44 +07:00
ee38035634
Implement table.filter() default delegate in base library
...
Filter callback is the same as for array.filter(), ie function(key, value)
2017-11-28 23:08:10 +07:00
7d589eb444
Fix some small bugs in the documentation examples.
2017-11-20 15:35:44 +01:00
b00cd02629
Merge pull request #114 from breakin/fix/doc-references_from_c
...
Fix errors in documentation source code
2017-11-17 04:19:14 +08:00
5460758eb0
some doc on sq_tailcall
2017-11-17 04:14:15 +08:00
5c737b040a
Fix errors in documentation source code
2017-11-16 16:05:04 +01:00
26a655a503
Clarify that sq_newclass pushes the new class in the stack.
2017-11-14 13:29:44 +01:00
2186a3fe21
Merge pull request #95 from kainjow/patch-1
...
Fix typo
2017-06-19 23:26:21 +08:00
304be42986
Fix typo
2017-06-14 08:39:58 -07: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
eeba56c81b
Normalize whitespace.
...
Convert source files to Unix EOL mode, convert .bat files to DOS EOL
mode, de-tabify and strip trailing whitespace.
2016-08-19 13:40:31 +02:00
bd43d374dc
minor documentation fixes
2016-08-07 01:29:58 +08:00
15e2c23eea
Minor spelling fix
2016-07-19 16:19:35 -04:00
7aadf19f34
Merge pull request #63 from zeromus/master
...
documentation fixups
2016-06-24 23:50:16 +08:00
90cd4bc238
Documentation cleanup, part one.
2016-06-23 15:21:26 -07:00
ba338b145c
remove spurious 'previdx' from _tostring metamethod docs
2016-06-21 19:29:53 -05:00
87deb68c46
rewrite docs for 'this' argument passing. I found some of the finer points to be confusing (I was led to believe indexing a function off an object would bindenv the object to it, but it doesnt). So I changed the language to 'immediately indexed' and then tried to elaborate that.
2016-06-20 01:51:44 -05:00
457f3b25bc
docs fix... all the builtin_functions for function were mislabeled as array?
2016-06-20 01:07:30 -05:00
7290b1fffe
docs & error message tidy
2016-06-19 15:44:00 -05:00
3b217e7e42
fix getstackinfos docs
2016-06-14 13:09:53 -05:00
3c4098da84
small docs fixes. small typo fixes in sqapi.cpp error messages
2016-06-13 20:19:32 -05:00
09c4e7a8c1
fix docs for 'unsigned right shift operator' to reference >>> instead of <<< ! also minor tidying in same file
2016-06-02 19:24:21 -05:00
4f20c881ab
Merge pull request #47 from zeromus/printf
...
feature: add a printf function to the string stdlib
2016-05-16 01:45:37 +08:00
9004743fc4
docs for sq_getstringandssize
2016-05-15 01:00:47 -05:00
7c0550b8ad
printf docs and other small docs tidies
2016-05-15 00:30:15 -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
4fddb87839
tidy metamethods general docs
2016-04-14 18:23:45 -05:00
4305796277
fix metamethod _get documentation from _get(idx,val) to _get(idx)
2016-04-14 18:22:20 -05:00
2f6419f19b
clarify sq_cmp
2016-04-14 18:13:13 -05:00
9218082df1
defferentieate -> differentiate
2016-04-14 18:08:29 -05:00
d02fa17be2
small typo and grammar fixes
2016-04-14 18:07:37 -05:00
d9d0ebb4c0
Small mistyping fixes
2016-04-06 23:14:01 +02: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