X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cf1e90eacef94ed2c30fc806887f3c6e6319544e..b67f99d2787aa360886850db3386fd07a7dae422:/src/simix/simcalls.py diff --git a/src/simix/simcalls.py b/src/simix/simcalls.py index 8ecb03347d..570815e057 100755 --- a/src/simix/simcalls.py +++ b/src/simix/simcalls.py @@ -1,5 +1,12 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- + +# Copyright (c) 2014. The SimGrid Team. +# All rights reserved. + +# This program is free software; you can redistribute it and/or modify it +# under the terms of the license (GNU LGPL) which comes with this package. + import re, glob types = [('TCHAR', 'char', 'c') @@ -17,6 +24,7 @@ types = [('TCHAR', 'char', 'c') ,('TCPTR', 'const void*', 'cp') ,('TSIZE', 'size_t', 'sz') ,('TSGSIZE', 'sg_size_t', 'sgsz') + ,('TSGOFF', 'sg_offset_t', 'sgoff') ,('TVOID', 'void', '') ,('TDSPEC', 'void*', 'dp') ,('TFSPEC', 'FPtr', 'fp')] @@ -218,4 +226,4 @@ if __name__=='__main__': write('simcalls_generated_res_getter_setter.h', Simcall.result_getter_setter, simcalls, simcalls_dict) write('simcalls_generated_args_getter_setter.h', Simcall.args_getter_setter, simcalls, simcalls_dict) write('simcalls_generated_case.c', Simcall.case, simcalls, simcalls_dict) - write('simcalls_generated_body.c', Simcall.body, simcalls, simcalls_dict) \ No newline at end of file + write('simcalls_generated_body.c', Simcall.body, simcalls, simcalls_dict)