182 Object[] FIXED_PARAMETER_TEMPLATE = { "*( ( ", //$NON-NLS-1$ |
182 Object[] FIXED_PARAMETER_TEMPLATE = { "*( ( ", //$NON-NLS-1$ |
183 HeaderTemplateElementType.PARAMETER_TYPE, "* )ptr ) = ", //$NON-NLS-1$ |
183 HeaderTemplateElementType.PARAMETER_TYPE, "* )ptr ) = ", //$NON-NLS-1$ |
184 HeaderTemplateElementType.PARAMETER_NAME, ";", //$NON-NLS-1$ |
184 HeaderTemplateElementType.PARAMETER_NAME, ";", //$NON-NLS-1$ |
185 HeaderTemplateElementType.NEW_LINE, "ptr += sizeof ( ", //$NON-NLS-1$ |
185 HeaderTemplateElementType.NEW_LINE, "ptr += sizeof ( ", //$NON-NLS-1$ |
186 HeaderTemplateElementType.PARAMETER_TYPE, " );", //$NON-NLS-1$ |
186 HeaderTemplateElementType.PARAMETER_TYPE, " );", //$NON-NLS-1$ |
187 HeaderTemplateElementType.NEW_LINE }; |
187 HeaderTemplateElementType.NEW_LINE}; |
|
188 |
|
189 /** |
|
190 * |
|
191 */ |
|
192 Object[] INCREMENT_LENGTH = { "length += sizeof ( ", //$NON-NLS-1$ |
|
193 HeaderTemplateElementType.PARAMETER_TYPE, " );", //$NON-NLS-1$ |
|
194 HeaderTemplateElementType.NEW_LINE }; |
|
195 |
188 |
196 |
189 /** |
197 /** |
190 * Template for parameter with fixed size and length check |
198 * Template for parameter with fixed size and length check |
191 */ |
199 */ |
192 Object[] FIXED_PARAMETER_TEMPLATE_WITH_LENGTH_CHECK = { |
200 Object[] FIXED_PARAMETER_TEMPLATE_WITH_LENGTH_CHECK = { |