[Bf-gamedev] Lua

Jacob Merrill blueprintrandom1 at gmail.com
Thu Sep 26 17:39:38 CEST 2013


I'm no expert, but if the swig system has no drawbacks other than more code,

since it has python handles anyway, would that not be like cutting out
clutter and adding in a universal adapter?

if it supports lua and python and X,
why not cut out the python handles and use the swig handles for python?

What would be the disadvantage?
Build stability?


On Thu, Sep 26, 2013 at 8:36 AM, Jason Wilkins <jason.a.wilkins at gmail.com>wrote:

> To answer your question in that email (if it wasn't answered), yes, SWIG
> has a generic mechanism for throwing errors in the embedded language.
>  I've used it to catch exceptions and rethrow them in Lua (but could just
> as well turn error codes into exceptions too).
>
>
>
> On Thu, Sep 26, 2013 at 10:33 AM, Campbell Barton <ideasman42 at gmail.com>wrote:
>
>> On Fri, Sep 27, 2013 at 1:29 AM, Jacob Merrill
>> <blueprintrandom1 at gmail.com> wrote:
>> > What about this? - http://www.swig.org/
>> >
>> > this seems like a way to make "ANY" language grab the same handles in
>> the
>> > BGE.
>>
>> yes and no, 4th paragraph.
>>
>> http://markmail.org/message/nkdhnkaas4mknakw
>>
>> > I could be mistaken...
>> >
>> > _______________________________________________
>> > Bf-gamedev mailing list
>> > Bf-gamedev at blender.org
>> > http://lists.blender.org/mailman/listinfo/bf-gamedev
>> >
>>
>>
>>
>> --
>> - Campbell
>> _______________________________________________
>> Bf-gamedev mailing list
>> Bf-gamedev at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-gamedev
>>
>
>
> _______________________________________________
> Bf-gamedev mailing list
> Bf-gamedev at blender.org
> http://lists.blender.org/mailman/listinfo/bf-gamedev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-gamedev/attachments/20130926/ba13f4c9/attachment.htm 


More information about the Bf-gamedev mailing list