Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/pbosetti/mightex
Browse files Browse the repository at this point in the history
  • Loading branch information
pbosetti committed Jun 14, 2021
2 parents 52a94a2 + b36a7e2 commit 33bdab7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ At the moment, **the Docker-based cross compilation is not enabled on Windows**.

[SWIG](http://swig.org) is a commandline utility that simplifies the creation of C/C++ wrappers to be compiled into binary libraries for many common scripting languages.

This project enables that with a special C++ header that can also be parsed by SWIG: `src/mightex.hh`.
This project enables that with a special C++ header, which can also be parsed by SWIG: `src/mightex.hh`.

This file also plays as a header only C++ interface to the Mightex1304 library, so if you want to use the librari in a C++ fashion, just `#include "mightex.hh"` and properly link to the libraries, and you are set.
This file also plays as a header only C++ interface to the Mightex1304 library, so if you want to use the library in a C++ fashion, just `#include "mightex.hh"` and properly link to the libraries, and you are set.

The file also contains some conditional code that enables SWIG to parse it and generate the proper code. Let's see how it works for lua:

Expand Down Expand Up @@ -101,4 +101,4 @@ The binary release already contains wrappers for Lua, Python, and Ruby.

## Author

Paolo Bosetti, University of Trento.
Paolo Bosetti, University of Trento.

0 comments on commit 33bdab7

Please sign in to comment.