X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=barectf%2Ftemplates%2Fc%2Fserialize-write-int-statements.j2;h=e163143c33b9ff674f91301db87786b7645f6591;hb=fdbf874096d3bf7a058b871761e686ce2e84a4ac;hp=98701a600d0d5a5b7865a2859403c0267de2f0f1;hpb=ba6905ab90df87657db0f907fec6185983a67be3;p=deliverable%2Fbarectf.git diff --git a/barectf/templates/c/serialize-write-int-statements.j2 b/barectf/templates/c/serialize-write-int-statements.j2 index 98701a6..e163143 100644 --- a/barectf/templates/c/serialize-write-int-statements.j2 +++ b/barectf/templates/c/serialize-write-int-statements.j2 @@ -1,3 +1,27 @@ +{# + # The MIT License (MIT) + # + # Copyright (c) 2020 Philippe Proulx + # + # Permission is hereby granted, free of charge, to any person obtaining + # a copy of this software and associated documentation files (the + # "Software"), to deal in the Software without restriction, including + # without limitation the rights to use, copy, modify, merge, publish, + # distribute, sublicense, and/or sell copies of the Software, and to + # permit persons to whom the Software is furnished to do so, subject to + # the following conditions: + # + # The above copyright notice and this permission notice shall be + # included in all copies or substantial portions of the Software. + # + # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + # IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + #} {% import 'c/common.j2' as c_common %} {% set c_type = op.ft | ft_c_type %} {% set src = c_common.op_src(op) %}