params.py (7798:85e1847726e3) params.py (7811:a8fc35183c10)
1# Copyright (c) 2004-2006 The Regents of The University of Michigan
2# Copyright (c) 2010 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;

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

999 {
1000''')
1001 code.indent(2)
1002 for val in cls.vals:
1003 code('"$val",')
1004 code.dedent(2)
1005 code('''
1006 };
1# Copyright (c) 2004-2006 The Regents of The University of Michigan
2# Copyright (c) 2010 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;

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

999 {
1000''')
1001 code.indent(2)
1002 for val in cls.vals:
1003 code('"$val",')
1004 code.dedent(2)
1005 code('''
1006 };
1007/* namespace Enums */ }
1007} // namespace Enums
1008''')
1009
1010# Base class for enum types.
1011class Enum(ParamValue):
1012 __metaclass__ = MetaEnum
1013 vals = []
1014
1015 def __init__(self, value):

--- 473 unchanged lines hidden ---
1008''')
1009
1010# Base class for enum types.
1011class Enum(ParamValue):
1012 __metaclass__ = MetaEnum
1013 vals = []
1014
1015 def __init__(self, value):

--- 473 unchanged lines hidden ---