| 1 | /* |
| 2 | * %injeqt copyright begin% |
| 3 | * Copyright 2014 Rafał Malinowski ([email protected]) |
| 4 | * %injeqt copyright end% |
| 5 | * |
| 6 | * This library is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU Lesser General Public |
| 8 | * License as published by the Free Software Foundation; either |
| 9 | * version 2.1 of the License, or (at your option) any later version. |
| 10 | * |
| 11 | * This library is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 | * Lesser General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU Lesser General Public |
| 17 | * License along with this library; if not, write to the Free Software |
| 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | */ |
| 20 | |
| 21 | #pragma once |
| 22 | |
| 23 | #include <injeqt/injeqt.h>cxx . . $ `<file>/include/injeqt/injeqt.h`/ |
| 24 | #include <injeqt/type.h>cxx . . $ `<file>/include/injeqt/type.h`/ |
| 25 | |
| 26 | #include "internal.h"cxx . . $ `<file>/src/internal/internal.h`/ |
| 27 | |
| 28 | #include "sorted-unique-vector.h"cxx . . $ `<file>/src/internal/sorted-unique-vector.h`/ |
| 29 | |
| 30 | namespace injeqtcxx . . $ injeqt/ { namespace internalcxx . . $ injeqt/internal/ { |
| 31 | |
| 32 | inline stdcxx . . $ std/::stringcxx . . $ std/string# name_from_typecxx . . $ injeqt/internal/name_from_type(b2455ea62f3317e7).(const typecxx . . $ injeqt/v1/type# &t) |
| 33 | { |
| 34 | return tcxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f)..namecxx . . $ injeqt/v1/type#name(219584694fe2b248).(); |
| 35 | } |
| 36 | |
| 37 | using types_by_namecxx . . $ injeqt/internal/types_by_name# = sorted_unique_vectorcxx . . $ injeqt/internal/sorted_unique_vector#<stdcxx . . $ std/::stringcxx . . $ std/string#, typecxx . . $ injeqt/v1/type#, name_from_typecxx . . $ injeqt/internal/name_from_type(b2455ea62f3317e7).>; |
| 38 | |
| 39 | INJEQT_INTERNAL_APIcxx . . $ `src/internal/internal.h:26:9`! typecxx . . $ injeqt/v1/type# type_by_pointercxx . . $ injeqt/internal/type_by_pointer(d5fc4731e87e33af).(const types_by_namecxx . . $ injeqt/internal/types_by_name# &known_types, const stdcxx . . $ std/::stringcxx . . $ std/string# &pointer_name); |
| 40 | |
| 41 | }} |