Ignore:
Timestamp:
Mar 23, 2009, 12:08:34 AM (13 years ago)
Author:
charles
Message:

make json.h friendly to C++

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/json.h

    r7658 r8076  
    1313#ifndef TR_JSON_H
    1414
     15#ifdef __cplusplus
     16extern "C" {
     17#endif
     18
    1519int tr_jsonParse( const void *     vbuf,
    1620                  size_t           len,
     
    1822                  const uint8_t ** setme_end );
    1923
     24#ifdef __cplusplus
     25}
    2026#endif
     27
     28#endif
Note: See TracChangeset for help on using the changeset viewer.