aboutsummaryrefslogtreecommitdiff
path: root/examples/cxx/serializer/library/library.map
blob: 901fb7d2852525bc97f93da21a4a64acc0f54ba2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# file      : examples/cxx/serializer/library/library.map
# author    : Boris Kolpackov <boris@codesynthesis.com>
# copyright : not copyrighted - public domain

namespace http://www.codesynthesis.com/library
{
  include "library.hxx";

  # Use the actual type instead of a typedef. The compiler
  # has no way of knowing that isbn and unsigned int are
  # the same C++ types and may generate clashing function
  # signatures if we use the typedef alias here.
  #
  isbn    "unsigned int" "unsigned int";

  title   "const library::title&";
  genre   library::genre library::genre;
  person  "const library::person&";
  author  "const library::author&";
  book    "const library::book&";
  catalog "const library::catalog&";
}