mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-27 09:43:58 +00:00
support for C++ code generation; importcpp and importobjc pragmas
This commit is contained in:
@@ -31,6 +31,7 @@ Changes affecting backwards compatibility
|
||||
- Moved ``strutils.validEmailAddress`` to ``matchers.validEmailAddress``.
|
||||
- The pointer dereference operator ``^`` has been removed, so that ``^``
|
||||
can now be a user-defined operator.
|
||||
- ``implies`` is no keyword anymore.
|
||||
- The ``is`` operator is now the ``of`` operator.
|
||||
- The ``is`` operator is now used to check type equivalence in generic code.
|
||||
|
||||
@@ -47,6 +48,13 @@ Language Additions
|
||||
Compiler Additions
|
||||
------------------
|
||||
|
||||
- The compiler can generate C++ code for easier interfacing with C++.
|
||||
- The compiler can generate Objective C code for easier interfacing with
|
||||
Objective C.
|
||||
- The new pragmas ``importcpp`` and ``importobjc`` make interfacing with C++
|
||||
and Objective C somewhat easier.
|
||||
|
||||
|
||||
Library Additions
|
||||
-----------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user