Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: experimental/Intersection/DataTypes.h

Issue 481513004: Define NDEBUG instead of SK_DEBUG/SK_RELEASE. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « experimental/Intersection/CubicUtilities.cpp ('k') | experimental/Intersection/DataTypes.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 Google Inc. 2 * Copyright 2012 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 #ifndef __DataTypes_h__ 7 #ifndef __DataTypes_h__
8 #define __DataTypes_h__ 8 #define __DataTypes_h__
9 9
10 #include <float.h> // for FLT_EPSILON 10 #include <float.h> // for FLT_EPSILON
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 const Quadratic& second() const { return (const Quadratic&) pts[2]; } 402 const Quadratic& second() const { return (const Quadratic&) pts[2]; }
403 _Point pts[5]; 403 _Point pts[5];
404 }; 404 };
405 405
406 // FIXME: move these into SkFloatingPoint.h 406 // FIXME: move these into SkFloatingPoint.h
407 #include "SkFloatingPoint.h" 407 #include "SkFloatingPoint.h"
408 408
409 #define sk_double_isnan(a) sk_float_isnan(a) 409 #define sk_double_isnan(a) sk_float_isnan(a)
410 410
411 // FIXME: move these to debugging file 411 // FIXME: move these to debugging file
412 #if SK_DEBUG 412 #ifdef SK_DEBUG
413 void mathematica_ize(char* str, size_t bufferSize); 413 void mathematica_ize(char* str, size_t bufferSize);
414 bool valid_wind(int winding); 414 bool valid_wind(int winding);
415 void winding_printf(int winding); 415 void winding_printf(int winding);
416 #endif 416 #endif
417 417
418 #endif // __DataTypes_h__ 418 #endif // __DataTypes_h__
OLDNEW
« no previous file with comments | « experimental/Intersection/CubicUtilities.cpp ('k') | experimental/Intersection/DataTypes.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698