summaryrefslogtreecommitdiff
path: root/ext/syck/yaml2byte.c
diff options
context:
space:
mode:
authorwhy <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-06 06:29:56 +0000
committerwhy <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-06 06:29:56 +0000
commit2fa9a0b08c7d2c672d2ae2ac8b76a66cfc1c5082 (patch)
tree0f783680b6f2a9d2cd9848b98bfd0bce55d81993 /ext/syck/yaml2byte.c
parentf77db2ed9ca3f9c404594787b456b1cabee351c7 (diff)
* lib/yaml/rubytypes.rb (to_yaml): added instance variable handling
for Ranges, Strings, Structs, Regexps. * lib/yaml/rubytypes.rb (to_yaml_fold): new method for setting a String's flow style. * lib/yaml.rb (YAML::object_maker): now uses Object.allocate. * ext/syck/gram.c: fixed transfer methods on structs, broke it last commit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/syck/yaml2byte.c')
-rw-r--r--ext/syck/yaml2byte.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/syck/yaml2byte.c b/ext/syck/yaml2byte.c
index d55d1083b4..b2dc450ffa 100644
--- a/ext/syck/yaml2byte.c
+++ b/ext/syck/yaml2byte.c
@@ -9,11 +9,11 @@
* WARNING WARNING WARNING --- THIS IS *NOT JUST* PLAYING
* ANYMORE! -- WHY HAS EMBRACED THIS AS THE REAL THING!
*/
+#include "ruby.h"
#include <syck.h>
#include <assert.h>
#define YAMLBYTE_UTF8
#include "yamlbyte.h"
-#include "ruby.h"
#include <stdio.h>
#define TRACE0(a) \