~ubuntu-branches/ubuntu/intrepid/ruby1.9/intrepid-updates

« back to all changes in this revision

Viewing changes to ext/syck/syck.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-09-04 16:01:17 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20070904160117-i15zckg2nhxe9fyw
Tags: 1.9.0+20070830-2ubuntu1
* Sync from Debian; remaining changes:
  - Add -g to CFLAGS.
* Fixes build failure on ia64.
* Fixes build failure with gcc-4.2 on lpia.
* Robustify check for target_os, fixing build failure on lpia.
* Set Ubuntu maintainer address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * syck.h
3
3
 *
4
 
 * $Author: matz $
5
 
 * $Date: 2007-03-19 12:58:57 +0900 (月, 19  3月 2007) $
 
4
 * $Author: nobu $
 
5
 * $Date: 2007-07-15 22:24:39 +0900 (日, 15  7月 2007) $
6
6
 *
7
7
 * Copyright (C) 2003 why the lucky stiff
8
8
 */
17
17
#define YAML_DOMAIN     "yaml.org,2002"
18
18
 
19
19
#include <stdio.h>
 
20
#include <stdlib.h>
20
21
#include <ctype.h>
21
 
#include "st.h"
 
22
#include "ruby/st.h"
22
23
 
23
24
#if defined(__cplusplus)
24
25
extern "C" {
399
400
void syck_parser_handler( SyckParser *, SyckNodeHandler );
400
401
void syck_parser_error_handler( SyckParser *, SyckErrorHandler );
401
402
void syck_parser_bad_anchor_handler( SyckParser *, SyckBadAnchorHandler );
 
403
void syck_parser_set_input_type( SyckParser *, enum syck_parser_input );
402
404
void syck_parser_file( SyckParser *, FILE *, SyckIoFileRead );
403
405
void syck_parser_str( SyckParser *, char *, long, SyckIoStrRead );
404
406
void syck_parser_str_auto( SyckParser *, char *, SyckIoStrRead );