params.py (8607:5fb918115c07) params.py (8656:44203702a57a)
1# Copyright (c) 2004-2006 The Regents of The University of Michigan
2# Copyright (c) 2010-2011 Advanced Micro Devices, Inc.
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

--- 242 unchanged lines hidden (view full) ---

251 code('%import "${{self.swig_module_name()}}.i"')
252
253 def swig_decl(self, code):
254 code('%module(package="m5.internal") ${{self.swig_module_name()}}')
255 code('%{')
256 self.ptype.cxx_predecls(code)
257 code('%}')
258 code()
1# Copyright (c) 2004-2006 The Regents of The University of Michigan
2# Copyright (c) 2010-2011 Advanced Micro Devices, Inc.
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

--- 242 unchanged lines hidden (view full) ---

251 code('%import "${{self.swig_module_name()}}.i"')
252
253 def swig_decl(self, code):
254 code('%module(package="m5.internal") ${{self.swig_module_name()}}')
255 code('%{')
256 self.ptype.cxx_predecls(code)
257 code('%}')
258 code()
259 # Make sure the SWIGPY_SLICE_ARG is defined through this inclusion
260 code('%include "std_container.i"')
261 code()
259 self.ptype.swig_predecls(code)
260 code()
261 code('%include "std_vector.i"')
262 code()
263
264 ptype = self.ptype_str
265 cxx_type = self.ptype.cxx_type
266

--- 1279 unchanged lines hidden ---
262 self.ptype.swig_predecls(code)
263 code()
264 code('%include "std_vector.i"')
265 code()
266
267 ptype = self.ptype_str
268 cxx_type = self.ptype.cxx_type
269

--- 1279 unchanged lines hidden ---