This file is indexed.

/usr/include/thunderbird/xpctest_params.h is in thunderbird-dev 1:38.6.0+build1-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/xpctest_params.idl
 */

#ifndef __gen_xpctest_params_h__
#define __gen_xpctest_params_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

#include "js/Value.h"

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIXPCTestInterfaceA; /* forward declaration */

class nsIXPCTestInterfaceB; /* forward declaration */


/* starting interface:    nsIXPCTestParams */
#define NS_IXPCTESTPARAMS_IID_STR "fe2b7433-ac3b-49ef-9344-b67228bfdd46"

#define NS_IXPCTESTPARAMS_IID \
  {0xfe2b7433, 0xac3b, 0x49ef, \
    { 0x93, 0x44, 0xb6, 0x72, 0x28, 0xbf, 0xdd, 0x46 }}

class NS_NO_VTABLE nsIXPCTestParams : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IXPCTESTPARAMS_IID)

  /* boolean testBoolean (in boolean a, inout boolean b); */
  NS_IMETHOD TestBoolean(bool a, bool *b, bool *_retval) = 0;

  /* octet testOctet (in octet a, inout octet b); */
  NS_IMETHOD TestOctet(uint8_t a, uint8_t *b, uint8_t *_retval) = 0;

  /* short testShort (in short a, inout short b); */
  NS_IMETHOD TestShort(int16_t a, int16_t *b, int16_t *_retval) = 0;

  /* long testLong (in long a, inout long b); */
  NS_IMETHOD TestLong(int32_t a, int32_t *b, int32_t *_retval) = 0;

  /* long long testLongLong (in long long a, inout long long b); */
  NS_IMETHOD TestLongLong(int64_t a, int64_t *b, int64_t *_retval) = 0;

  /* unsigned short testUnsignedShort (in unsigned short a, inout unsigned short b); */
  NS_IMETHOD TestUnsignedShort(uint16_t a, uint16_t *b, uint16_t *_retval) = 0;

  /* unsigned long testUnsignedLong (in unsigned long a, inout unsigned long b); */
  NS_IMETHOD TestUnsignedLong(uint32_t a, uint32_t *b, uint32_t *_retval) = 0;

  /* unsigned long long testUnsignedLongLong (in unsigned long long a, inout unsigned long long b); */
  NS_IMETHOD TestUnsignedLongLong(uint64_t a, uint64_t *b, uint64_t *_retval) = 0;

  /* float testFloat (in float a, inout float b); */
  NS_IMETHOD TestFloat(float a, float *b, float *_retval) = 0;

  /* double testDouble (in double a, inout float b); */
  NS_IMETHOD TestDouble(double a, float *b, double *_retval) = 0;

  /* char testChar (in char a, inout char b); */
  NS_IMETHOD TestChar(char a, char *b, char *_retval) = 0;

  /* string testString (in string a, inout string b); */
  NS_IMETHOD TestString(const char * a, char * *b, char * *_retval) = 0;

  /* wchar testWchar (in wchar a, inout wchar b); */
  NS_IMETHOD TestWchar(char16_t a, char16_t *b, char16_t *_retval) = 0;

  /* wstring testWstring (in wstring a, inout wstring b); */
  NS_IMETHOD TestWstring(const char16_t * a, char16_t * *b, char16_t * *_retval) = 0;

  /* DOMString testDOMString (in DOMString a, inout DOMString b); */
  NS_IMETHOD TestDOMString(const nsAString & a, nsAString & b, nsAString & _retval) = 0;

  /* AString testAString (in AString a, inout AString b); */
  NS_IMETHOD TestAString(const nsAString & a, nsAString & b, nsAString & _retval) = 0;

  /* AUTF8String testAUTF8String (in AUTF8String a, inout AUTF8String b); */
  NS_IMETHOD TestAUTF8String(const nsACString & a, nsACString & b, nsACString & _retval) = 0;

  /* ACString testACString (in ACString a, inout ACString b); */
  NS_IMETHOD TestACString(const nsACString & a, nsACString & b, nsACString & _retval) = 0;

  /* jsval testJsval (in jsval a, inout jsval b); */
  NS_IMETHOD TestJsval(JS::HandleValue a, JS::MutableHandleValue b, JS::MutableHandleValue _retval) = 0;

  /* void testShortArray (in unsigned long aLength, [array, size_is (aLength)] in short a, inout unsigned long bLength, [array, size_is (bLength)] inout short b, out unsigned long rvLength, [array, size_is (rvLength), retval] out short rv); */
  NS_IMETHOD TestShortArray(uint32_t aLength, int16_t *a, uint32_t *bLength, int16_t **b, uint32_t *rvLength, int16_t **rv) = 0;

  /* void testDoubleArray (in unsigned long aLength, [array, size_is (aLength)] in double a, inout unsigned long bLength, [array, size_is (bLength)] inout double b, out unsigned long rvLength, [array, size_is (rvLength), retval] out double rv); */
  NS_IMETHOD TestDoubleArray(uint32_t aLength, double *a, uint32_t *bLength, double **b, uint32_t *rvLength, double **rv) = 0;

  /* void testStringArray (in unsigned long aLength, [array, size_is (aLength)] in string a, inout unsigned long bLength, [array, size_is (bLength)] inout string b, out unsigned long rvLength, [array, size_is (rvLength), retval] out string rv); */
  NS_IMETHOD TestStringArray(uint32_t aLength, const char * *a, uint32_t *bLength, char * **b, uint32_t *rvLength, char * **rv) = 0;

  /* void testWstringArray (in unsigned long aLength, [array, size_is (aLength)] in wstring a, inout unsigned long bLength, [array, size_is (bLength)] inout wstring b, out unsigned long rvLength, [array, size_is (rvLength), retval] out wstring rv); */
  NS_IMETHOD TestWstringArray(uint32_t aLength, const char16_t * *a, uint32_t *bLength, char16_t * **b, uint32_t *rvLength, char16_t * **rv) = 0;

  /* void testInterfaceArray (in unsigned long aLength, [array, size_is (aLength)] in nsIXPCTestInterfaceA a, inout unsigned long bLength, [array, size_is (bLength)] inout nsIXPCTestInterfaceA b, out unsigned long rvLength, [array, size_is (rvLength), retval] out nsIXPCTestInterfaceA rv); */
  NS_IMETHOD TestInterfaceArray(uint32_t aLength, nsIXPCTestInterfaceA **a, uint32_t *bLength, nsIXPCTestInterfaceA * **b, uint32_t *rvLength, nsIXPCTestInterfaceA * **rv) = 0;

  /* void testSizedString (in unsigned long aLength, [size_is (aLength)] in string a, inout unsigned long bLength, [size_is (bLength)] inout string b, out unsigned long rvLength, [size_is (rvLength), retval] out string rv); */
  NS_IMETHOD TestSizedString(uint32_t aLength, const char * a, uint32_t *bLength, char * *b, uint32_t *rvLength, char * *rv) = 0;

  /* void testSizedWstring (in unsigned long aLength, [size_is (aLength)] in wstring a, inout unsigned long bLength, [size_is (bLength)] inout wstring b, out unsigned long rvLength, [size_is (rvLength), retval] out wstring rv); */
  NS_IMETHOD TestSizedWstring(uint32_t aLength, const char16_t * a, uint32_t *bLength, char16_t * *b, uint32_t *rvLength, char16_t * *rv) = 0;

  /* void testInterfaceIs (in nsIIDPtr aIID, [iid_is (aIID)] in nsQIResult a, inout nsIIDPtr bIID, [iid_is (bIID)] inout nsQIResult b, out nsIIDPtr rvIID, [iid_is (rvIID), retval] out nsQIResult rv); */
  NS_IMETHOD TestInterfaceIs(const nsIID *aIID, void *a, nsIID **bIID, void **b, nsIID **rvIID, void **rv) = 0;

  /* void testInterfaceIsArray (in unsigned long aLength, in nsIIDPtr aIID, [array, size_is (aLength), iid_is (aIID)] in nsQIResult a, inout unsigned long bLength, inout nsIIDPtr bIID, [array, size_is (bLength), iid_is (bIID)] inout nsQIResult b, out unsigned long rvLength, out nsIIDPtr rvIID, [retval, array, size_is (rvLength), iid_is (rvIID)] out nsQIResult rv); */
  NS_IMETHOD TestInterfaceIsArray(uint32_t aLength, const nsIID *aIID, void **a, uint32_t *bLength, nsIID **bIID, void ***b, uint32_t *rvLength, nsIID **rvIID, void ***rv) = 0;

  /* void testOutAString (out AString o); */
  NS_IMETHOD TestOutAString(nsAString & o) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIXPCTestParams, NS_IXPCTESTPARAMS_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIXPCTESTPARAMS \
  NS_IMETHOD TestBoolean(bool a, bool *b, bool *_retval) override; \
  NS_IMETHOD TestOctet(uint8_t a, uint8_t *b, uint8_t *_retval) override; \
  NS_IMETHOD TestShort(int16_t a, int16_t *b, int16_t *_retval) override; \
  NS_IMETHOD TestLong(int32_t a, int32_t *b, int32_t *_retval) override; \
  NS_IMETHOD TestLongLong(int64_t a, int64_t *b, int64_t *_retval) override; \
  NS_IMETHOD TestUnsignedShort(uint16_t a, uint16_t *b, uint16_t *_retval) override; \
  NS_IMETHOD TestUnsignedLong(uint32_t a, uint32_t *b, uint32_t *_retval) override; \
  NS_IMETHOD TestUnsignedLongLong(uint64_t a, uint64_t *b, uint64_t *_retval) override; \
  NS_IMETHOD TestFloat(float a, float *b, float *_retval) override; \
  NS_IMETHOD TestDouble(double a, float *b, double *_retval) override; \
  NS_IMETHOD TestChar(char a, char *b, char *_retval) override; \
  NS_IMETHOD TestString(const char * a, char * *b, char * *_retval) override; \
  NS_IMETHOD TestWchar(char16_t a, char16_t *b, char16_t *_retval) override; \
  NS_IMETHOD TestWstring(const char16_t * a, char16_t * *b, char16_t * *_retval) override; \
  NS_IMETHOD TestDOMString(const nsAString & a, nsAString & b, nsAString & _retval) override; \
  NS_IMETHOD TestAString(const nsAString & a, nsAString & b, nsAString & _retval) override; \
  NS_IMETHOD TestAUTF8String(const nsACString & a, nsACString & b, nsACString & _retval) override; \
  NS_IMETHOD TestACString(const nsACString & a, nsACString & b, nsACString & _retval) override; \
  NS_IMETHOD TestJsval(JS::HandleValue a, JS::MutableHandleValue b, JS::MutableHandleValue _retval) override; \
  NS_IMETHOD TestShortArray(uint32_t aLength, int16_t *a, uint32_t *bLength, int16_t **b, uint32_t *rvLength, int16_t **rv) override; \
  NS_IMETHOD TestDoubleArray(uint32_t aLength, double *a, uint32_t *bLength, double **b, uint32_t *rvLength, double **rv) override; \
  NS_IMETHOD TestStringArray(uint32_t aLength, const char * *a, uint32_t *bLength, char * **b, uint32_t *rvLength, char * **rv) override; \
  NS_IMETHOD TestWstringArray(uint32_t aLength, const char16_t * *a, uint32_t *bLength, char16_t * **b, uint32_t *rvLength, char16_t * **rv) override; \
  NS_IMETHOD TestInterfaceArray(uint32_t aLength, nsIXPCTestInterfaceA **a, uint32_t *bLength, nsIXPCTestInterfaceA * **b, uint32_t *rvLength, nsIXPCTestInterfaceA * **rv) override; \
  NS_IMETHOD TestSizedString(uint32_t aLength, const char * a, uint32_t *bLength, char * *b, uint32_t *rvLength, char * *rv) override; \
  NS_IMETHOD TestSizedWstring(uint32_t aLength, const char16_t * a, uint32_t *bLength, char16_t * *b, uint32_t *rvLength, char16_t * *rv) override; \
  NS_IMETHOD TestInterfaceIs(const nsIID *aIID, void *a, nsIID **bIID, void **b, nsIID **rvIID, void **rv) override; \
  NS_IMETHOD TestInterfaceIsArray(uint32_t aLength, const nsIID *aIID, void **a, uint32_t *bLength, nsIID **bIID, void ***b, uint32_t *rvLength, nsIID **rvIID, void ***rv) override; \
  NS_IMETHOD TestOutAString(nsAString & o) override; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIXPCTESTPARAMS(_to) \
  NS_IMETHOD TestBoolean(bool a, bool *b, bool *_retval) override { return _to TestBoolean(a, b, _retval); } \
  NS_IMETHOD TestOctet(uint8_t a, uint8_t *b, uint8_t *_retval) override { return _to TestOctet(a, b, _retval); } \
  NS_IMETHOD TestShort(int16_t a, int16_t *b, int16_t *_retval) override { return _to TestShort(a, b, _retval); } \
  NS_IMETHOD TestLong(int32_t a, int32_t *b, int32_t *_retval) override { return _to TestLong(a, b, _retval); } \
  NS_IMETHOD TestLongLong(int64_t a, int64_t *b, int64_t *_retval) override { return _to TestLongLong(a, b, _retval); } \
  NS_IMETHOD TestUnsignedShort(uint16_t a, uint16_t *b, uint16_t *_retval) override { return _to TestUnsignedShort(a, b, _retval); } \
  NS_IMETHOD TestUnsignedLong(uint32_t a, uint32_t *b, uint32_t *_retval) override { return _to TestUnsignedLong(a, b, _retval); } \
  NS_IMETHOD TestUnsignedLongLong(uint64_t a, uint64_t *b, uint64_t *_retval) override { return _to TestUnsignedLongLong(a, b, _retval); } \
  NS_IMETHOD TestFloat(float a, float *b, float *_retval) override { return _to TestFloat(a, b, _retval); } \
  NS_IMETHOD TestDouble(double a, float *b, double *_retval) override { return _to TestDouble(a, b, _retval); } \
  NS_IMETHOD TestChar(char a, char *b, char *_retval) override { return _to TestChar(a, b, _retval); } \
  NS_IMETHOD TestString(const char * a, char * *b, char * *_retval) override { return _to TestString(a, b, _retval); } \
  NS_IMETHOD TestWchar(char16_t a, char16_t *b, char16_t *_retval) override { return _to TestWchar(a, b, _retval); } \
  NS_IMETHOD TestWstring(const char16_t * a, char16_t * *b, char16_t * *_retval) override { return _to TestWstring(a, b, _retval); } \
  NS_IMETHOD TestDOMString(const nsAString & a, nsAString & b, nsAString & _retval) override { return _to TestDOMString(a, b, _retval); } \
  NS_IMETHOD TestAString(const nsAString & a, nsAString & b, nsAString & _retval) override { return _to TestAString(a, b, _retval); } \
  NS_IMETHOD TestAUTF8String(const nsACString & a, nsACString & b, nsACString & _retval) override { return _to TestAUTF8String(a, b, _retval); } \
  NS_IMETHOD TestACString(const nsACString & a, nsACString & b, nsACString & _retval) override { return _to TestACString(a, b, _retval); } \
  NS_IMETHOD TestJsval(JS::HandleValue a, JS::MutableHandleValue b, JS::MutableHandleValue _retval) override { return _to TestJsval(a, b, _retval); } \
  NS_IMETHOD TestShortArray(uint32_t aLength, int16_t *a, uint32_t *bLength, int16_t **b, uint32_t *rvLength, int16_t **rv) override { return _to TestShortArray(aLength, a, bLength, b, rvLength, rv); } \
  NS_IMETHOD TestDoubleArray(uint32_t aLength, double *a, uint32_t *bLength, double **b, uint32_t *rvLength, double **rv) override { return _to TestDoubleArray(aLength, a, bLength, b, rvLength, rv); } \
  NS_IMETHOD TestStringArray(uint32_t aLength, const char * *a, uint32_t *bLength, char * **b, uint32_t *rvLength, char * **rv) override { return _to TestStringArray(aLength, a, bLength, b, rvLength, rv); } \
  NS_IMETHOD TestWstringArray(uint32_t aLength, const char16_t * *a, uint32_t *bLength, char16_t * **b, uint32_t *rvLength, char16_t * **rv) override { return _to TestWstringArray(aLength, a, bLength, b, rvLength, rv); } \
  NS_IMETHOD TestInterfaceArray(uint32_t aLength, nsIXPCTestInterfaceA **a, uint32_t *bLength, nsIXPCTestInterfaceA * **b, uint32_t *rvLength, nsIXPCTestInterfaceA * **rv) override { return _to TestInterfaceArray(aLength, a, bLength, b, rvLength, rv); } \
  NS_IMETHOD TestSizedString(uint32_t aLength, const char * a, uint32_t *bLength, char * *b, uint32_t *rvLength, char * *rv) override { return _to TestSizedString(aLength, a, bLength, b, rvLength, rv); } \
  NS_IMETHOD TestSizedWstring(uint32_t aLength, const char16_t * a, uint32_t *bLength, char16_t * *b, uint32_t *rvLength, char16_t * *rv) override { return _to TestSizedWstring(aLength, a, bLength, b, rvLength, rv); } \
  NS_IMETHOD TestInterfaceIs(const nsIID *aIID, void *a, nsIID **bIID, void **b, nsIID **rvIID, void **rv) override { return _to TestInterfaceIs(aIID, a, bIID, b, rvIID, rv); } \
  NS_IMETHOD TestInterfaceIsArray(uint32_t aLength, const nsIID *aIID, void **a, uint32_t *bLength, nsIID **bIID, void ***b, uint32_t *rvLength, nsIID **rvIID, void ***rv) override { return _to TestInterfaceIsArray(aLength, aIID, a, bLength, bIID, b, rvLength, rvIID, rv); } \
  NS_IMETHOD TestOutAString(nsAString & o) override { return _to TestOutAString(o); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIXPCTESTPARAMS(_to) \
  NS_IMETHOD TestBoolean(bool a, bool *b, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestBoolean(a, b, _retval); } \
  NS_IMETHOD TestOctet(uint8_t a, uint8_t *b, uint8_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestOctet(a, b, _retval); } \
  NS_IMETHOD TestShort(int16_t a, int16_t *b, int16_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestShort(a, b, _retval); } \
  NS_IMETHOD TestLong(int32_t a, int32_t *b, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestLong(a, b, _retval); } \
  NS_IMETHOD TestLongLong(int64_t a, int64_t *b, int64_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestLongLong(a, b, _retval); } \
  NS_IMETHOD TestUnsignedShort(uint16_t a, uint16_t *b, uint16_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestUnsignedShort(a, b, _retval); } \
  NS_IMETHOD TestUnsignedLong(uint32_t a, uint32_t *b, uint32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestUnsignedLong(a, b, _retval); } \
  NS_IMETHOD TestUnsignedLongLong(uint64_t a, uint64_t *b, uint64_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestUnsignedLongLong(a, b, _retval); } \
  NS_IMETHOD TestFloat(float a, float *b, float *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestFloat(a, b, _retval); } \
  NS_IMETHOD TestDouble(double a, float *b, double *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestDouble(a, b, _retval); } \
  NS_IMETHOD TestChar(char a, char *b, char *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestChar(a, b, _retval); } \
  NS_IMETHOD TestString(const char * a, char * *b, char * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestString(a, b, _retval); } \
  NS_IMETHOD TestWchar(char16_t a, char16_t *b, char16_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestWchar(a, b, _retval); } \
  NS_IMETHOD TestWstring(const char16_t * a, char16_t * *b, char16_t * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestWstring(a, b, _retval); } \
  NS_IMETHOD TestDOMString(const nsAString & a, nsAString & b, nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestDOMString(a, b, _retval); } \
  NS_IMETHOD TestAString(const nsAString & a, nsAString & b, nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestAString(a, b, _retval); } \
  NS_IMETHOD TestAUTF8String(const nsACString & a, nsACString & b, nsACString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestAUTF8String(a, b, _retval); } \
  NS_IMETHOD TestACString(const nsACString & a, nsACString & b, nsACString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestACString(a, b, _retval); } \
  NS_IMETHOD TestJsval(JS::HandleValue a, JS::MutableHandleValue b, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestJsval(a, b, _retval); } \
  NS_IMETHOD TestShortArray(uint32_t aLength, int16_t *a, uint32_t *bLength, int16_t **b, uint32_t *rvLength, int16_t **rv) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestShortArray(aLength, a, bLength, b, rvLength, rv); } \
  NS_IMETHOD TestDoubleArray(uint32_t aLength, double *a, uint32_t *bLength, double **b, uint32_t *rvLength, double **rv) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestDoubleArray(aLength, a, bLength, b, rvLength, rv); } \
  NS_IMETHOD TestStringArray(uint32_t aLength, const char * *a, uint32_t *bLength, char * **b, uint32_t *rvLength, char * **rv) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestStringArray(aLength, a, bLength, b, rvLength, rv); } \
  NS_IMETHOD TestWstringArray(uint32_t aLength, const char16_t * *a, uint32_t *bLength, char16_t * **b, uint32_t *rvLength, char16_t * **rv) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestWstringArray(aLength, a, bLength, b, rvLength, rv); } \
  NS_IMETHOD TestInterfaceArray(uint32_t aLength, nsIXPCTestInterfaceA **a, uint32_t *bLength, nsIXPCTestInterfaceA * **b, uint32_t *rvLength, nsIXPCTestInterfaceA * **rv) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestInterfaceArray(aLength, a, bLength, b, rvLength, rv); } \
  NS_IMETHOD TestSizedString(uint32_t aLength, const char * a, uint32_t *bLength, char * *b, uint32_t *rvLength, char * *rv) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestSizedString(aLength, a, bLength, b, rvLength, rv); } \
  NS_IMETHOD TestSizedWstring(uint32_t aLength, const char16_t * a, uint32_t *bLength, char16_t * *b, uint32_t *rvLength, char16_t * *rv) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestSizedWstring(aLength, a, bLength, b, rvLength, rv); } \
  NS_IMETHOD TestInterfaceIs(const nsIID *aIID, void *a, nsIID **bIID, void **b, nsIID **rvIID, void **rv) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestInterfaceIs(aIID, a, bIID, b, rvIID, rv); } \
  NS_IMETHOD TestInterfaceIsArray(uint32_t aLength, const nsIID *aIID, void **a, uint32_t *bLength, nsIID **bIID, void ***b, uint32_t *rvLength, nsIID **rvIID, void ***rv) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestInterfaceIsArray(aLength, aIID, a, bLength, bIID, b, rvLength, rvIID, rv); } \
  NS_IMETHOD TestOutAString(nsAString & o) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestOutAString(o); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsXPCTestParams : public nsIXPCTestParams
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIXPCTESTPARAMS

  nsXPCTestParams();

private:
  ~nsXPCTestParams();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsXPCTestParams, nsIXPCTestParams)

nsXPCTestParams::nsXPCTestParams()
{
  /* member initializers and constructor code */
}

nsXPCTestParams::~nsXPCTestParams()
{
  /* destructor code */
}

/* boolean testBoolean (in boolean a, inout boolean b); */
NS_IMETHODIMP nsXPCTestParams::TestBoolean(bool a, bool *b, bool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* octet testOctet (in octet a, inout octet b); */
NS_IMETHODIMP nsXPCTestParams::TestOctet(uint8_t a, uint8_t *b, uint8_t *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* short testShort (in short a, inout short b); */
NS_IMETHODIMP nsXPCTestParams::TestShort(int16_t a, int16_t *b, int16_t *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* long testLong (in long a, inout long b); */
NS_IMETHODIMP nsXPCTestParams::TestLong(int32_t a, int32_t *b, int32_t *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* long long testLongLong (in long long a, inout long long b); */
NS_IMETHODIMP nsXPCTestParams::TestLongLong(int64_t a, int64_t *b, int64_t *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* unsigned short testUnsignedShort (in unsigned short a, inout unsigned short b); */
NS_IMETHODIMP nsXPCTestParams::TestUnsignedShort(uint16_t a, uint16_t *b, uint16_t *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* unsigned long testUnsignedLong (in unsigned long a, inout unsigned long b); */
NS_IMETHODIMP nsXPCTestParams::TestUnsignedLong(uint32_t a, uint32_t *b, uint32_t *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* unsigned long long testUnsignedLongLong (in unsigned long long a, inout unsigned long long b); */
NS_IMETHODIMP nsXPCTestParams::TestUnsignedLongLong(uint64_t a, uint64_t *b, uint64_t *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* float testFloat (in float a, inout float b); */
NS_IMETHODIMP nsXPCTestParams::TestFloat(float a, float *b, float *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* double testDouble (in double a, inout float b); */
NS_IMETHODIMP nsXPCTestParams::TestDouble(double a, float *b, double *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* char testChar (in char a, inout char b); */
NS_IMETHODIMP nsXPCTestParams::TestChar(char a, char *b, char *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* string testString (in string a, inout string b); */
NS_IMETHODIMP nsXPCTestParams::TestString(const char * a, char * *b, char * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* wchar testWchar (in wchar a, inout wchar b); */
NS_IMETHODIMP nsXPCTestParams::TestWchar(char16_t a, char16_t *b, char16_t *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* wstring testWstring (in wstring a, inout wstring b); */
NS_IMETHODIMP nsXPCTestParams::TestWstring(const char16_t * a, char16_t * *b, char16_t * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* DOMString testDOMString (in DOMString a, inout DOMString b); */
NS_IMETHODIMP nsXPCTestParams::TestDOMString(const nsAString & a, nsAString & b, nsAString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* AString testAString (in AString a, inout AString b); */
NS_IMETHODIMP nsXPCTestParams::TestAString(const nsAString & a, nsAString & b, nsAString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* AUTF8String testAUTF8String (in AUTF8String a, inout AUTF8String b); */
NS_IMETHODIMP nsXPCTestParams::TestAUTF8String(const nsACString & a, nsACString & b, nsACString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* ACString testACString (in ACString a, inout ACString b); */
NS_IMETHODIMP nsXPCTestParams::TestACString(const nsACString & a, nsACString & b, nsACString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* jsval testJsval (in jsval a, inout jsval b); */
NS_IMETHODIMP nsXPCTestParams::TestJsval(JS::HandleValue a, JS::MutableHandleValue b, JS::MutableHandleValue _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void testShortArray (in unsigned long aLength, [array, size_is (aLength)] in short a, inout unsigned long bLength, [array, size_is (bLength)] inout short b, out unsigned long rvLength, [array, size_is (rvLength), retval] out short rv); */
NS_IMETHODIMP nsXPCTestParams::TestShortArray(uint32_t aLength, int16_t *a, uint32_t *bLength, int16_t **b, uint32_t *rvLength, int16_t **rv)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void testDoubleArray (in unsigned long aLength, [array, size_is (aLength)] in double a, inout unsigned long bLength, [array, size_is (bLength)] inout double b, out unsigned long rvLength, [array, size_is (rvLength), retval] out double rv); */
NS_IMETHODIMP nsXPCTestParams::TestDoubleArray(uint32_t aLength, double *a, uint32_t *bLength, double **b, uint32_t *rvLength, double **rv)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void testStringArray (in unsigned long aLength, [array, size_is (aLength)] in string a, inout unsigned long bLength, [array, size_is (bLength)] inout string b, out unsigned long rvLength, [array, size_is (rvLength), retval] out string rv); */
NS_IMETHODIMP nsXPCTestParams::TestStringArray(uint32_t aLength, const char * *a, uint32_t *bLength, char * **b, uint32_t *rvLength, char * **rv)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void testWstringArray (in unsigned long aLength, [array, size_is (aLength)] in wstring a, inout unsigned long bLength, [array, size_is (bLength)] inout wstring b, out unsigned long rvLength, [array, size_is (rvLength), retval] out wstring rv); */
NS_IMETHODIMP nsXPCTestParams::TestWstringArray(uint32_t aLength, const char16_t * *a, uint32_t *bLength, char16_t * **b, uint32_t *rvLength, char16_t * **rv)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void testInterfaceArray (in unsigned long aLength, [array, size_is (aLength)] in nsIXPCTestInterfaceA a, inout unsigned long bLength, [array, size_is (bLength)] inout nsIXPCTestInterfaceA b, out unsigned long rvLength, [array, size_is (rvLength), retval] out nsIXPCTestInterfaceA rv); */
NS_IMETHODIMP nsXPCTestParams::TestInterfaceArray(uint32_t aLength, nsIXPCTestInterfaceA **a, uint32_t *bLength, nsIXPCTestInterfaceA * **b, uint32_t *rvLength, nsIXPCTestInterfaceA * **rv)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void testSizedString (in unsigned long aLength, [size_is (aLength)] in string a, inout unsigned long bLength, [size_is (bLength)] inout string b, out unsigned long rvLength, [size_is (rvLength), retval] out string rv); */
NS_IMETHODIMP nsXPCTestParams::TestSizedString(uint32_t aLength, const char * a, uint32_t *bLength, char * *b, uint32_t *rvLength, char * *rv)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void testSizedWstring (in unsigned long aLength, [size_is (aLength)] in wstring a, inout unsigned long bLength, [size_is (bLength)] inout wstring b, out unsigned long rvLength, [size_is (rvLength), retval] out wstring rv); */
NS_IMETHODIMP nsXPCTestParams::TestSizedWstring(uint32_t aLength, const char16_t * a, uint32_t *bLength, char16_t * *b, uint32_t *rvLength, char16_t * *rv)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void testInterfaceIs (in nsIIDPtr aIID, [iid_is (aIID)] in nsQIResult a, inout nsIIDPtr bIID, [iid_is (bIID)] inout nsQIResult b, out nsIIDPtr rvIID, [iid_is (rvIID), retval] out nsQIResult rv); */
NS_IMETHODIMP nsXPCTestParams::TestInterfaceIs(const nsIID *aIID, void *a, nsIID **bIID, void **b, nsIID **rvIID, void **rv)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void testInterfaceIsArray (in unsigned long aLength, in nsIIDPtr aIID, [array, size_is (aLength), iid_is (aIID)] in nsQIResult a, inout unsigned long bLength, inout nsIIDPtr bIID, [array, size_is (bLength), iid_is (bIID)] inout nsQIResult b, out unsigned long rvLength, out nsIIDPtr rvIID, [retval, array, size_is (rvLength), iid_is (rvIID)] out nsQIResult rv); */
NS_IMETHODIMP nsXPCTestParams::TestInterfaceIsArray(uint32_t aLength, const nsIID *aIID, void **a, uint32_t *bLength, nsIID **bIID, void ***b, uint32_t *rvLength, nsIID **rvIID, void ***rv)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void testOutAString (out AString o); */
NS_IMETHODIMP nsXPCTestParams::TestOutAString(nsAString & o)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_xpctest_params_h__ */