lua-users home
lua-l archive
return multiple values from C
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
return multiple values from C
From
: Shea Martin <shea08@
...
>
Date
: 2007年2月01日 16:46:22 -0400
in my c function (registered as foo) I push two numbers on the stack.
In my script, I have this:
x,y = foo()
but only x gets a value, y is set to nil. What am I doing wrong here?
Roberto's book does not really talk about embedding.
~S
Prev by Date:
Re: [OT] HTTP etag vs if-* vs range vs content-encoding?
Next by Date:
return multiple values from C
Previous by thread:
Re: creating a table in C
Next by thread:
return multiple values from C
Index(es):
Date
Thread
AltStyle
によって変換されたページ
(->オリジナル)
/
アドレス:
モード:
デフォルト
音声ブラウザ
ルビ付き
配色反転
文字拡大
モバイル