Thanks,
I'll have a look at it. Got some nice examples from the SDL module amongst others as well..
Btw, I'm halfway through to a usable Lua[1] binding module. Thought I could post it on modules.gotpike.org. Question: where in the namespace would be a suitable place to put it? I've thought about Public.Lang.Lua or simply Public.Lua. Any guidelines regarding this? And, before I do, I guess I should get it to run with 7.7 and monger as well :o)
//Andreas
/ Kaos
Previous text:
2004-07-14 14:08: Subject: Re: cmod and pike objects
There are some very basic docs on the pike website, but imho they don't even scratch the surface.
If you're interested in calling pike functions from a cmod, you might want to take a look at the System.PAM module, the conversation function gets called by the cmod using safe_apply, iirc.
Bill
On Jul 13, 2004, at 8:45 AM, Kaos @ Pike developers forum wrote:
Hi,
Is the documentation (more than the very basics) for cmod's "RTFS" only?
I'm trying to figure out how to create Pike objects from my cmod, and invoke their functions. Is calling functions on existing objects used with safe_apply()? with args and result on the stack I guess.
more questions to come, I'm sure.. ;o)
Oh, btw, I'm using Pike 7.4 from CVS.
Thanks
/ Brevbäraren
I think the idea was that as long as you were working in the Public module tree, you don't have to get anyone's permission, as long as it doesn't conflict with anyone else's module. That said, I'd probably go for something like Public.Lang.Lua; Eventually, Public is going to get crowded :)
If you need any assistance getting the module to work with monger, let me know.
Thanks!
Bill
Btw, I'm halfway through to a usable Lua[1] binding module. Thought I could post it on modules.gotpike.org. Question: where in the namespace would be a suitable place to put it? I've thought about Public.Lang.Lua or simply Public.Lua. Any guidelines regarding this? And, before I do, I guess I should get it to run with 7.7 and monger as well :o)
Btw, I'm halfway through to a usable Lua[1] binding module. Thought I could post it on modules.gotpike.org.
Cool. I've totally failed to notice its existance :)
BTW, there seems to be something wrong with the html-generation. The moduels are described as
Information &module.name
&module.description
I suspect there is a missing ';' in the entitydescription or something totally different ;)
/ Peter Lundqvist (disjunkt)
Previous text:
2004-07-19 15:49: Subject: Re: cmod and pike objects
I think the idea was that as long as you were working in the Public module tree, you don't have to get anyone's permission, as long as it doesn't conflict with anyone else's module. That said, I'd probably go for something like Public.Lang.Lua; Eventually, Public is going to get crowded :)
If you need any assistance getting the module to work with monger, let me know.
Thanks!
Bill
Btw, I'm halfway through to a usable Lua[1] binding module. Thought I could post it on modules.gotpike.org. Question: where in the namespace would be a suitable place to put it? I've thought about Public.Lang.Lua or simply Public.Lua. Any guidelines regarding this? And, before I do, I guess I should get it to run with 7.7 and monger as well :o)
/ Brevbäraren
Ah, the URL should be: http://modules.gotpike.org:8000/. I'll make :80 bounce over to :8000 for convenience...
Bill
On Mon, 19 Jul 2004, Peter Lundqvist (disjunkt) @ Pike (-) developers forum wrote:
Btw, I'm halfway through to a usable Lua[1] binding module. Thought I could post it on modules.gotpike.org.
Cool. I've totally failed to notice its existance :)
BTW, there seems to be something wrong with the html-generation. The moduels are described as
Information &module.name
&module.description
I suspect there is a missing ';' in the entitydescription or something totally different ;)
/ Peter Lundqvist (disjunkt)
Previous text:
2004-07-19 15:49: Subject: Re: cmod and pike objects
I think the idea was that as long as you were working in the Public module tree, you don't have to get anyone's permission, as long as it doesn't conflict with anyone else's module. That said, I'd probably go for something like Public.Lang.Lua; Eventually, Public is going to get crowded :)
If you need any assistance getting the module to work with monger, let me know.
Thanks!
Bill
Btw, I'm halfway through to a usable Lua[1] binding module. Thought I could post it on modules.gotpike.org. Question: where in the namespace would be a suitable place to put it? I've thought about Public.Lang.Lua or simply Public.Lua. Any guidelines regarding this? And, before I do, I guess I should get it to run with 7.7 and monger as well :o)
/ Brevb�raren
Sweet!
/ Peter Lundqvist (disjunkt)
Previous text:
2004-07-19 16:34: Subject: Re: cmod and pike objects
Ah, the URL should be: http://modules.gotpike.org:8000/. I'll make :80 bounce over to :8000 for convenience...
Bill
On Mon, 19 Jul 2004, Peter Lundqvist (disjunkt) @ Pike (-) developers forum wrote:
Btw, I'm halfway through to a usable Lua[1] binding module. Thought I could post it on modules.gotpike.org.
Cool. I've totally failed to notice its existance :)
BTW, there seems to be something wrong with the html-generation. The moduels are described as
Information &module.name
&module.description
I suspect there is a missing ';' in the entitydescription or something totally different ;)
/ Peter Lundqvist (disjunkt)
Previous text:
2004-07-19 15:49: Subject: Re: cmod and pike objects
I think the idea was that as long as you were working in the Public module tree, you don't have to get anyone's permission, as long as it doesn't conflict with anyone else's module. That said, I'd probably go for something like Public.Lang.Lua; Eventually, Public is going to get crowded :)
If you need any assistance getting the module to work with monger, let me know.
Thanks!
Bill
Btw, I'm halfway through to a usable Lua[1] binding module. Thought I could post it on modules.gotpike.org. Question: where in the namespace would be a suitable place to put it? I've thought about Public.Lang.Lua or simply Public.Lua. Any guidelines regarding this? And, before I do, I guess I should get it to run with 7.7 and monger as well :o)
/ Brevbäraren
/ Brevbäraren
pike-devel@lists.lysator.liu.se