[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: host-plugin interface
- From: Thijs Koerselman <thijskoerselman@...>
- Date: Mon, 8 Feb 2010 21:01:19 +0100
But, yes, there's a better way; ask the modules to export an object
factory (if that fails then it's definitely bad) and insist that these
objects all have a metatable which contains some distinct field/value.
This field can then identify the interface; the value can be made as
distinct as you like.
Do you have a simple example of this. This is an intriguing idea and just want more details. Thanks.
An example of some sort would be great. I don't quite understand what you mean.