Jump to content

  • Log In with Google      Sign In   
  • Create Account


zetaReticullan

Member Since 20 Oct 2011
Offline Last Active May 03 2012 12:58 AM

Posts I've Made

In Topic: Embedding Angelscript in a C application and exposing C++ like objects to hos...

03 May 2012 - 01:01 AM

Thanks. I will try compiling and testing the code in a pure C application and let you know if I have any problems.

In Topic: Embedding Angelscript in a C application and exposing C++ like objects to hos...

02 May 2012 - 10:24 AM

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

PARTNERS