Small tweaks.

pull/13171/head
Joshua Haberman 16 years ago
parent b98433ce8c
commit 9f2f5e18f1
  1. 4
      pbstream.c
  2. 2
      pbstream.h

@ -13,8 +13,8 @@
#define likely(x) __builtin_expect((x),1) #define likely(x) __builtin_expect((x),1)
#define unlikely(x) __builtin_expect((x),0) #define unlikely(x) __builtin_expect((x),0)
#else #else
#define likely(x) #define likely(x) (x)
#define unlikely(x) #define unlikely(x) (x)
#endif #endif
/* An array, indexed by pbstream_type, that indicates what wire type is /* An array, indexed by pbstream_type, that indicates what wire type is

@ -1,5 +1,5 @@
/* /*
* pbstream - a small and simple implementation of Protocol Buffers. * pbstream - a stream-oriented implementation of protocol buffers.
* *
* Copyright (c) 2008 Joshua Haberman. See LICENSE for details. * Copyright (c) 2008 Joshua Haberman. See LICENSE for details.
*/ */

Loading…
Cancel
Save