Advertisement

C Interface Library

Started by October 05, 2024 10:41 AM
1 comment, last by WitchLord 1 month, 3 weeks ago

Hello Angelscripters,

This link seems to be misleading, I believe?
https://www.angelcode.com/angelscript/sdk/docs/manual/doc_addon_clib.html
(Assuming c-lib is not a part of official sources any more)

However I've found an outdated version of CLib and updated it to the current. It was some 2.36 version at the time, but it works with the latest engine currently (2.37.0).

I use it with C++, but also with Pascal (I wrote a shallow unit for it, the CLib builds as a shared lib and binds dynamically - for the moment on Windows/Mac only). Of course there are some ABI use rules/limitations when working with Pascal, but it is mostly solvable. It also has a functional ‘string’ module.

The original C interface was expanded a bit, but also in a shallow manner (only add what I needed).

I wonder if this should be placed on a public repository.

None

You're right. That article is old, and not part of the latest documentation.

I did indeed remove the C lib as a formal add-on a long time ago. I still keep a version on the site though: https://angelcode.com/angelscript/resources.html

I don't actively keep it up to date with the latest AngelScript version, only when I get time for it, and there is a request for it.

Regards,
Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement