aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
Diffstat (limited to 'manual')
-rw-r--r--manual/manual.of17
1 files changed, 16 insertions, 1 deletions
diff --git a/manual/manual.of b/manual/manual.of
index 6947b2a0..f0b17b4c 100644
--- a/manual/manual.of
+++ b/manual/manual.of
@@ -675,7 +675,7 @@ approximately @M{n} bytes between steps.
675The garbage-collector step multiplier 675The garbage-collector step multiplier
676controls how much work each incremental step does. 676controls how much work each incremental step does.
677A value of @M{n} means the interpreter will execute 677A value of @M{n} means the interpreter will execute
678@M{n%} @emphx{units of work} for each byte allocated. 678@M{n%} @emphx{units of work} for each word allocated.
679A unit of work corresponds roughly to traversing one slot 679A unit of work corresponds roughly to traversing one slot
680or sweeping one object. 680or sweeping one object.
681Larger values make the collector more aggressive. 681Larger values make the collector more aggressive.
@@ -3829,11 +3829,26 @@ This macro may evaluate its arguments more than once.
3829 3829
3830} 3830}
3831 3831
3832@APIEntry{unsigned (lua_numbertostrbuff) (lua_State *L, int idx,
3833 char *buff);|
3834@apii{0,0,-}
3835
3836Converts the number at acceptable index @id{idx} to a string
3837and puts the result in @id{buff}.
3838The buffer must have a size of at least @Lid{LUA_N2SBUFFSZ} bytes.
3839The conversion follows a non-specified format @see{coercion}.
3840The function returns the number of bytes written to the buffer
3841(including the final zero),
3842or zero if the value at @id{idx} is not a number.
3843
3844}
3845
3832@APIEntry{int lua_pcall (lua_State *L, int nargs, int nresults, int msgh);| 3846@APIEntry{int lua_pcall (lua_State *L, int nargs, int nresults, int msgh);|
3833@apii{nargs + 1,nresults|1,-} 3847@apii{nargs + 1,nresults|1,-}
3834 3848
3835Calls a function (or a callable object) in protected mode. 3849Calls a function (or a callable object) in protected mode.
3836 3850
3851
3837Both @id{nargs} and @id{nresults} have the same meaning as 3852Both @id{nargs} and @id{nresults} have the same meaning as
3838in @Lid{lua_call}. 3853in @Lid{lua_call}.
3839If there are no errors during the call, 3854If there are no errors during the call,