summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/oc/50007-misc.m
blob: 4de222a1fe10a4e5d214a98a401ba24cd895bfc2 (plain)
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
-(id)init
{
   GLfloat wc[3][3] = { { 0.6, 0.6, 0.0 }, { 1.0, 0.7, 0.1 }, { 0.5, 0.7, 0.2 }, };
   GLfloat cc[3][3] = { { 0.0, 0.0, 0.6 }, { 0.3, 0.1, 0.5 }, { 0.0, 0.0, 0.5 }, };
   GLfloat sc[3]    = { 0.75, 0.75, 0.75 };

   return [self initWithWarmColors: (float *)&wc coolColors: (float *)&cc
                      surfaceColor: sc enableTexturing: NO enableSpecular: YES
              enableQuakeDisruptor: NO];

   [NSException raise: NSInternalInconsistency
               format: @"An internal inconsistency was raised"];

   for (i = 0; i < [a count]; i++)
   {
      [thePerson setAmount: (1.5 * 17) forKey: @"overtime"];
      [screen showtext : x: y: @"Message"];
   }
}

*outError = [NSError errorWithDomain: NSCocoaErrorDomain
                                code: 0
                            userInfo: [NSDictionary
                        dictionaryWithObject: @"Some Description"
                                      forKey: NSLocalizedDescriptionKey]];