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:47:39 -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
Follow-Ups
:
RE: return multiple values from C
,
Jerome Vuarand
Prev by Date:
return multiple values from C
Next by Date:
RE: return multiple values from C
Previous by thread:
return multiple values from C
Next by thread:
RE: return multiple values from C
Index(es):
Date
Thread
AltStyle
によって変換されたページ
(->オリジナル)
/
アドレス:
モード:
デフォルト
音声ブラウザ
ルビ付き
配色反転
文字拡大
モバイル