Skip to content

Conversation

jetf
Copy link

@jetf jetf commented Aug 11, 2021

  • Use global variable $YAML::XS::Width to set the line width of Dump().
  • Relocate local variable declarations in perl_libyaml.c to make it compilable
    by a legacy C/C++ compiler (MS VC6).

- Use global variable $YAML::XS::Width to set the line width of Dump().
- Relocate local variable declarations in perl_libyaml.c to make it compilable
  by a legacy C/C++ compiler (MS VC6).
@perlpunk
Copy link
Collaborator

Sorry for never merging, but there will be a new OOP interface soon, and I have implemented this option there.
Checkout the dev release: https://metacpan.org/release/TINITA/YAML-LibYAML-v0.902.1-TRIAL/view/lib/YAML/XS.pm#OBJECT-ORIENTED-INTERFACE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants