Skip to content

Add splashkit-arrays.h header#226

Merged
macite merged 2 commits intosplashkit:developfrom
WhyPenguins:splashkit-arrays
Feb 19, 2026
Merged

Add splashkit-arrays.h header#226
macite merged 2 commits intosplashkit:developfrom
WhyPenguins:splashkit-arrays

Conversation

@WhyPenguins
Copy link
Contributor

Description

This adds a header file for the C++ output of SplashKit, that provides bounded_array and dynamic_array templated classes, along with relevant free functions.

The CMakeLists for libSplashKit has been modified to copy this header to the relevant locations, and this has been tested with deploy.sh.

I'm unsure about where splashkit-arrays.h should be located, hopefully this is alright :)


Note: the classes/functions are documented, but currently aren't processed as part of the translation and so won't show up in the API/documentation.

Also included is a fix for the libllama inclusion - I was getting build errors for libSplashKit without it.

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Unit tests have been added to sktest, along with some manual testing.

Testing Checklist

  • Tested with sktest

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

@macite macite merged commit 9ee565a into splashkit:develop Feb 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments