Ignore:
Timestamp:
07/03/06 09:49:14 (8 years ago)
Author:
xi
Message:

Move yaml/yaml.h to yaml.h and merge version.c to api.c.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libyaml/trunk/src/api.c

    r199 r200  
    44#endif 
    55 
    6 #include <yaml/yaml.h> 
     6#include <yaml.h> 
    77 
    88#include <assert.h> 
     9 
     10YAML_DECLARE(const char *) 
     11yaml_get_version_string(void) 
     12{ 
     13    return YAML_VERSION_STRING; 
     14} 
     15 
     16YAML_DECLARE(void) 
     17yaml_get_version(int *major, int *minor, int *patch) 
     18{ 
     19    *major = YAML_VERSION_MAJOR; 
     20    *minor = YAML_VERSION_MINOR; 
     21    *patch = YAML_VERSION_PATCH; 
     22} 
    923 
    1024/* 
Note: See TracChangeset for help on using the changeset viewer.