block_types.h 480 B

1234567891011121314
  1. // Copyright 2013 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef BASE_IOS_BLOCK_TYPES_H_
  5. #define BASE_IOS_BLOCK_TYPES_H_
  6. // A generic procedural block type that takes no arguments and returns nothing.
  7. typedef void (^ProceduralBlock)(void);
  8. // A block that takes no arguments and returns a bool.
  9. typedef bool (^ConditionBlock)(void);
  10. #endif // BASE_IOS_BLOCK_TYPES_H_