An open API service indexing awesome lists of open source software.

https://github.com/ttypic/kmm-embedded-c

Extending KMM shared module with C/C++ code. Repo for https://hackernoon.com/how-to-extend-a-kmm-shared-module-with-cc-code
https://github.com/ttypic/kmm-embedded-c

c kmm-library kmm-sample kotlin-multiplatform

Last synced: 16 days ago
JSON representation

Extending KMM shared module with C/C++ code. Repo for https://hackernoon.com/how-to-extend-a-kmm-shared-module-with-cc-code

Awesome Lists containing this project

README

        

# Extending a KMM Shared Module With C/C++ Code

This repository contains sample code for [tutotial I've written at Hackernoon](https://hackernoon.com/how-to-extend-a-kmm-shared-module-with-cc-code)

_This tutorial was inspired by [Zipline library](https://github.com/cashapp/zipline)._

## Content

This repository contains code for Kotlin Multiplatform library for iOS and Android targets, which
provides Kotlin bindings for C-implementations of SHA-256 hash function.

Build configuration doesn't contains custom gradle tasks or any shell-script. For iOS target
it uses [CKlib gradle plugin](https://github.com/touchlab/cklib) and for Android target it uses regular Android gradle plugin's NDK.