Cross platform C++ plugins by supplying source code
#13
cPlugin would still need to be thunked to the C coding convention for calls to MCServer if plugins are compiled client side. Otherwise we have to ship a compiler to ensure the layouts, calling convention, and name mangling are the same. Also what is to stop people using methods that arn't part of the API? For lua and squirrel we handled this by not doing binding code for those methods. For C++ we either need wrapper classes for every class or to expose every virtual method and every field.
Reply
Thanks given by:


Messages In This Thread
RE: Cross platform C++ plugins by supplying source code - by worktycho - 10-26-2014, 06:24 AM



Users browsing this thread: 1 Guest(s)