zetaReticullan

Members
  • Content count

    3
  • Joined

  • Last visited

Community Reputation

100 Neutral

About zetaReticullan

  • Rank
    Newbie
  1. Thanks. I will try compiling and testing the code in a pure C application and let you know if I have any problems.
  2. Hi Andreas, Thanks for your quick response. The situation is as follows: I am writing my code in pure ANSI C (actually, its mostly legacy C code). My users don't know - or care that the app is written in C - however, providing scripting in C++ will make things easier for them (and me) - because it allows to avoid some of the problems I mentioned earlier. Your response has made me think - maybe it is not possible to do what I wanted to do. Having said that, I notice that the source test application for the C binding has .cpp (instead of a 'c' extension file). Also, athough the cpp file also contains an extern "C" {} declaration, it contains a class declaration - which is not valid C syntax. Could you confirm if AngelScript been tested in a pure C application compiled on Linux? Thanks
  3. I am writing a C application which I want to add scripting functionality to. I have decided to use [url="http://www.angelcode.com/angelscript/"]AngelScript[/url] since it satisfies my requirements and can also be embedded in a C application, using its [url="http://www.angelcode.com/angelscript/resources.html"]C bindings[/url]. However, (this is where things get a little bit trickier). I want to make life eas(ier) for the application scripters, so I want to expose scriptable objects (which are C++ wrappers around my internal C data types etc), so that a user does not have to worry about memory management, dangling pointers etc.) So, my question is that is it possible to expose C++ objects to AngelScript (for user scripting), whilst embedding the AngelScript engine itself in a C application by means of Angelscripts C binding?.