godot/core/templates/pass_func.h

/**************************************************************************/
/*  pass_func.h                                                           */
/**************************************************************************/
/*                         This file is part of:                          */
/*                             GODOT ENGINE                               */
/*                        https://godotengine.org                         */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.                  */
/*                                                                        */
/* 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.                 */
/**************************************************************************/

#ifndef PASS_FUNC_H
#define PASS_FUNC_H

#define PASS0R(m_r, m_name)
#define PASS0RC(m_r, m_name)
#define PASS1R(m_r, m_name, m_type1)
#define PASS1RC(m_r, m_name, m_type1)
#define PASS2R(m_r, m_name, m_type1, m_type2)
#define PASS2RC(m_r, m_name, m_type1, m_type2)
#define PASS3R(m_r, m_name, m_type1, m_type2, m_type3)
#define PASS3RC(m_r, m_name, m_type1, m_type2, m_type3)
#define PASS4R(m_r, m_name, m_type1, m_type2, m_type3, m_type4)
#define PASS4RC(m_r, m_name, m_type1, m_type2, m_type3, m_type4)
#define PASS5R(m_r, m_name, m_type1, m_type2, m_type3, m_type4, m_type5)
#define PASS5RC(m_r, m_name, m_type1, m_type2, m_type3, m_type4, m_type5)
#define PASS6R(m_r, m_name, m_type1, m_type2, m_type3, m_type4, m_type5, m_type6)
#define PASS6RC(m_r, m_name, m_type1, m_type2, m_type3, m_type4, m_type5, m_type6)

#define PASS0(m_name)
#define PASS1(m_name, m_type1)
#define PASS1C(m_name, m_type1)
#define PASS2(m_name, m_type1, m_type2)
#define PASS2C(m_name, m_type1, m_type2)
#define PASS3(m_name, m_type1, m_type2, m_type3)
#define PASS4(m_name, m_type1, m_type2, m_type3, m_type4)
#define PASS5(m_name, m_type1, m_type2, m_type3, m_type4, m_type5)
#define PASS6(m_name, m_type1, m_type2, m_type3, m_type4, m_type5, m_type6)
#define PASS7(m_name, m_type1, m_type2, m_type3, m_type4, m_type5, m_type6, m_type7)
#define PASS8(m_name, m_type1, m_type2, m_type3, m_type4, m_type5, m_type6, m_type7, m_type8)
#define PASS9(m_name, m_type1, m_type2, m_type3, m_type4, m_type5, m_type6, m_type7, m_type8, m_type9)
#define PASS10(m_name, m_type1, m_type2, m_type3, m_type4, m_type5, m_type6, m_type7, m_type8, m_type9, m_type10)
#define PASS11(m_name, m_type1, m_type2, m_type3, m_type4, m_type5, m_type6, m_type7, m_type8, m_type9, m_type10, m_type11)
#define PASS12(m_name, m_type1, m_type2, m_type3, m_type4, m_type5, m_type6, m_type7, m_type8, m_type9, m_type10, m_type11, m_type12)
#define PASS13(m_name, m_type1, m_type2, m_type3, m_type4, m_type5, m_type6, m_type7, m_type8, m_type9, m_type10, m_type11, m_type12, m_type13)
#define PASS14(m_name, m_type1, m_type2, m_type3, m_type4, m_type5, m_type6, m_type7, m_type8, m_type9, m_type10, m_type11, m_type12, m_type13, m_type14)
#define PASS15(m_name, m_type1, m_type2, m_type3, m_type4, m_type5, m_type6, m_type7, m_type8, m_type9, m_type10, m_type11, m_type12, m_type13, m_type14, m_type15)

#endif // PASS_FUNC_H