diff options
| author | Tyge Løvset <[email protected]> | 2023-04-03 12:43:50 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-04-03 18:24:41 +0200 |
| commit | a3dc31d5393d051ad4dacb314452d3c6ec8a74b7 (patch) | |
| tree | 35c11eb9542ef448ab6a40642a17f7a4025df823 /include/stc/priv/template.h | |
| parent | e88b655ca8cf28d357f5088c205857954ad269e2 (diff) | |
| download | STC-modified-a3dc31d5393d051ad4dacb314452d3c6ec8a74b7.tar.gz STC-modified-a3dc31d5393d051ad4dacb314452d3c6ec8a74b7.zip | |
Split priv/template.h in two files to make mksingle.sh work.
Diffstat (limited to 'include/stc/priv/template.h')
| -rw-r--r-- | include/stc/priv/template.h | 64 |
1 files changed, 3 insertions, 61 deletions
diff --git a/include/stc/priv/template.h b/include/stc/priv/template.h index 5ea0cf4f..250a3dda 100644 --- a/include/stc/priv/template.h +++ b/include/stc/priv/template.h @@ -20,7 +20,9 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef _i_template +#ifdef _i_template + #error template.h already included +#endif #define _i_template #ifndef STC_TEMPLATE_H_INCLUDED @@ -290,63 +292,3 @@ #ifndef _i_has_from #define i_no_emplace #endif - -#else // ============================================================ - -#undef i_type -#undef i_tag -#undef i_imp -#undef i_opt -#undef i_less -#undef i_cmp -#undef i_eq -#undef i_hash -#undef i_rawclass -#undef i_capacity -#undef i_ssize - -#undef i_val -#undef i_val_str -#undef i_val_ssv -#undef i_valboxed -#undef i_valclass -#undef i_valraw -#undef i_valclone -#undef i_valfrom -#undef i_valto -#undef i_valdrop - -#undef i_key -#undef i_key_str -#undef i_key_ssv -#undef i_keyboxed -#undef i_keyclass -#undef i_keyraw -#undef i_keyclone -#undef i_keyfrom -#undef i_keyto -#undef i_keydrop - -#undef i_header -#undef i_implement -#undef i_static -#undef i_extern - -#undef i_allocator -#undef i_malloc -#undef i_calloc -#undef i_realloc -#undef i_free - -#undef i_no_cmp -#undef i_no_hash -#undef i_no_clone -#undef i_no_emplace -#undef i_is_forward - -#undef _i_prefix -#undef _i_expandby -#undef _i_has_from -#undef _i_has_eq -#undef _i_template -#endif |
