Merge: nitg: add support for unary - as an extern method
authorJean Privat <jean@pryen.org>
Tue, 10 Jun 2014 15:37:31 +0000 (11:37 -0400)
committerJean Privat <jean@pryen.org>
Tue, 10 Jun 2014 15:37:31 +0000 (11:37 -0400)
commitedfe3114b42b0409c5516639e06546fca839b79d
treeb10930c2ff694f93ba724c5818310fb3f12998c4
parent2de4410f5d4e130beb87977acf0dfa66c067c092
parent0d45914130a0af009c5301d1b4bf8035d7a45018
Merge: nitg: add support for unary - as an extern method

Fixes #483.

TODO: Since "unary -" is an overload of "-", it cannot be declared as a callback from C. We could either extend the importation syntax or import both "-" and "unary -" on import of "-".

Pull-Request: #486
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Jean Privat <jean@pryen.org>