Skip to content

dresswithpockets/raylib-cppsharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raylib-cppsharp

Raylib C# Bindings generated by CppSharp

RaylibGenerator

Generates bindings for the raylib headers

Issues

When building the raylib headers, CppSharp will throw some errors about some missing types. This is because in a typical C/C++ project, raylib.h is already included in the project prior to including one of the other headers (physac, raymath, etc). This is fixed by including raylib.h near the top of each of the headers with the errors.

Additionally, some errors are thrown about type coercion from int to float. This can be fixed by adding an explicit cast where those errors are cropping up.

RaylibGeneratorTest

Tests generated bindings with a trivial raylib example.

About

Raylib C# Bindings generated by CppSharp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published