Skip to content

jaz303/CSDL2.swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CSDL2.swift

A minimal set of headers to enable usage of SDL2 in Swift. Most of the work here is done by LLVM's awesome C integration.

The code needed to use these bindings is ugly; for a cleaner, more "Swift-like" interface to SDL2 functionality, check out SDL2.swift which builds upon these bindings.

If SDL2's prefix is not /usr, you must update the prefixes in module.modulemap.