|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] Using Smalltalk as a scripting language |
Date: | Tue, 27 Oct 2009 23:15:33 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Lightning/1.0pre Thunderbird/3.0b4 |
On 10/27/2009 11:13 PM, Roland Plüss wrote:
I see. I'll have a look at the info files. One thing though. I noticed that the gst_process_file call takes a filename as parameter. This is not really usable for me since in my engine files can be anything from disk files to memory files or even URL files. Hence I've got a file reader class which feeds the data to the scripts. Is there a way to feed script data to smalltalk using a memory pointer instead of a file? Or do I have to hack this together myself?
Yes, gst_eval_code takes a NULL-terminated string. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |