|
36 | 36 |
|
37 | 37 |
|
38 | 38 | /* mpack/mpack-platform.c.c */
|
| 39 | +/* |
| 40 | + * Copyright (c) 2015-2021 Nicholas Fraser and the MPack authors |
| 41 | + * |
| 42 | + * Permission is hereby granted, free of charge, to any person obtaining a copy of |
| 43 | + * this software and associated documentation files (the "Software"), to deal in |
| 44 | + * the Software without restriction, including without limitation the rights to |
| 45 | + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of |
| 46 | + * the Software, and to permit persons to whom the Software is furnished to do so, |
| 47 | + * subject to the following conditions: |
| 48 | + * |
| 49 | + * The above copyright notice and this permission notice shall be included in all |
| 50 | + * copies or substantial portions of the Software. |
| 51 | + * |
| 52 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 53 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS |
| 54 | + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR |
| 55 | + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |
| 56 | + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| 57 | + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 58 | + */ |
39 | 59 |
|
40 | 60 |
|
41 | 61 | // We define MPACK_EMIT_INLINE_DEFS and include mpack.h to emit
|
@@ -241,6 +261,26 @@ void* mpack_realloc(void* old_ptr, size_t used_size, size_t new_size) {
|
241 | 261 | MPACK_SILENCE_WARNINGS_END
|
242 | 262 |
|
243 | 263 | /* mpack/mpack-common.c.c */
|
| 264 | +/* |
| 265 | + * Copyright (c) 2015-2021 Nicholas Fraser and the MPack authors |
| 266 | + * |
| 267 | + * Permission is hereby granted, free of charge, to any person obtaining a copy of |
| 268 | + * this software and associated documentation files (the "Software"), to deal in |
| 269 | + * the Software without restriction, including without limitation the rights to |
| 270 | + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of |
| 271 | + * the Software, and to permit persons to whom the Software is furnished to do so, |
| 272 | + * subject to the following conditions: |
| 273 | + * |
| 274 | + * The above copyright notice and this permission notice shall be included in all |
| 275 | + * copies or substantial portions of the Software. |
| 276 | + * |
| 277 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 278 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS |
| 279 | + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR |
| 280 | + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |
| 281 | + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| 282 | + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 283 | + */ |
244 | 284 |
|
245 | 285 | #define MPACK_INTERNAL 1
|
246 | 286 |
|
@@ -976,6 +1016,26 @@ void mpack_print_file_callback(void* context, const char* data, size_t count) {
|
976 | 1016 | MPACK_SILENCE_WARNINGS_END
|
977 | 1017 |
|
978 | 1018 | /* mpack/mpack-writer.c.c */
|
| 1019 | +/* |
| 1020 | + * Copyright (c) 2015-2021 Nicholas Fraser and the MPack authors |
| 1021 | + * |
| 1022 | + * Permission is hereby granted, free of charge, to any person obtaining a copy of |
| 1023 | + * this software and associated documentation files (the "Software"), to deal in |
| 1024 | + * the Software without restriction, including without limitation the rights to |
| 1025 | + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of |
| 1026 | + * the Software, and to permit persons to whom the Software is furnished to do so, |
| 1027 | + * subject to the following conditions: |
| 1028 | + * |
| 1029 | + * The above copyright notice and this permission notice shall be included in all |
| 1030 | + * copies or substantial portions of the Software. |
| 1031 | + * |
| 1032 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 1033 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS |
| 1034 | + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR |
| 1035 | + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |
| 1036 | + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| 1037 | + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 1038 | + */ |
979 | 1039 |
|
980 | 1040 | #define MPACK_INTERNAL 1
|
981 | 1041 |
|
@@ -2790,6 +2850,26 @@ void mpack_complete_array(mpack_writer_t* writer) {
|
2790 | 2850 | MPACK_SILENCE_WARNINGS_END
|
2791 | 2851 |
|
2792 | 2852 | /* mpack/mpack-reader.c.c */
|
| 2853 | +/* |
| 2854 | + * Copyright (c) 2015-2021 Nicholas Fraser and the MPack authors |
| 2855 | + * |
| 2856 | + * Permission is hereby granted, free of charge, to any person obtaining a copy of |
| 2857 | + * this software and associated documentation files (the "Software"), to deal in |
| 2858 | + * the Software without restriction, including without limitation the rights to |
| 2859 | + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of |
| 2860 | + * the Software, and to permit persons to whom the Software is furnished to do so, |
| 2861 | + * subject to the following conditions: |
| 2862 | + * |
| 2863 | + * The above copyright notice and this permission notice shall be included in all |
| 2864 | + * copies or substantial portions of the Software. |
| 2865 | + * |
| 2866 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 2867 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS |
| 2868 | + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR |
| 2869 | + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |
| 2870 | + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| 2871 | + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 2872 | + */ |
2793 | 2873 |
|
2794 | 2874 | #define MPACK_INTERNAL 1
|
2795 | 2875 |
|
@@ -4061,6 +4141,26 @@ void mpack_print_stdfile_to_callback(FILE* file, mpack_print_callback_t callback
|
4061 | 4141 | MPACK_SILENCE_WARNINGS_END
|
4062 | 4142 |
|
4063 | 4143 | /* mpack/mpack-expect.c.c */
|
| 4144 | +/* |
| 4145 | + * Copyright (c) 2015-2021 Nicholas Fraser and the MPack authors |
| 4146 | + * |
| 4147 | + * Permission is hereby granted, free of charge, to any person obtaining a copy of |
| 4148 | + * this software and associated documentation files (the "Software"), to deal in |
| 4149 | + * the Software without restriction, including without limitation the rights to |
| 4150 | + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of |
| 4151 | + * the Software, and to permit persons to whom the Software is furnished to do so, |
| 4152 | + * subject to the following conditions: |
| 4153 | + * |
| 4154 | + * The above copyright notice and this permission notice shall be included in all |
| 4155 | + * copies or substantial portions of the Software. |
| 4156 | + * |
| 4157 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 4158 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS |
| 4159 | + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR |
| 4160 | + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |
| 4161 | + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| 4162 | + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 4163 | + */ |
4064 | 4164 |
|
4065 | 4165 | #define MPACK_INTERNAL 1
|
4066 | 4166 |
|
@@ -4928,6 +5028,26 @@ size_t mpack_expect_key_cstr(mpack_reader_t* reader, const char* keys[], bool fo
|
4928 | 5028 | MPACK_SILENCE_WARNINGS_END
|
4929 | 5029 |
|
4930 | 5030 | /* mpack/mpack-node.c.c */
|
| 5031 | +/* |
| 5032 | + * Copyright (c) 2015-2021 Nicholas Fraser and the MPack authors |
| 5033 | + * |
| 5034 | + * Permission is hereby granted, free of charge, to any person obtaining a copy of |
| 5035 | + * this software and associated documentation files (the "Software"), to deal in |
| 5036 | + * the Software without restriction, including without limitation the rights to |
| 5037 | + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of |
| 5038 | + * the Software, and to permit persons to whom the Software is furnished to do so, |
| 5039 | + * subject to the following conditions: |
| 5040 | + * |
| 5041 | + * The above copyright notice and this permission notice shall be included in all |
| 5042 | + * copies or substantial portions of the Software. |
| 5043 | + * |
| 5044 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 5045 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS |
| 5046 | + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR |
| 5047 | + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |
| 5048 | + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| 5049 | + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 5050 | + */ |
4931 | 5051 |
|
4932 | 5052 | #define MPACK_INTERNAL 1
|
4933 | 5053 |
|
|
0 commit comments