Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: v1.5.5.rc2
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (19 sloc) 0.618 kB

C/C++ mode style for Nokogiri

Please don't propose commits that only change whitespace. However, if your commit touches a function or section that is not using MRI Ruby conventions, feel free to update whitespace in the surrounding code.

WHITESPACE:

  • indent level: 2

  • indent type: Always spaces

  • line Breaks: LF

This style can be automatically applied by running:

astyle --indent=spaces=2 --style=1tbs --keep-one-line-blocks $(ack -f --type=cpp --type=cc ext/nokogiri)

FUNCTION DECLARATION:

ANSI C style:

type name(args)
{
  declarations

  code
}

SOURCES:

  • <3<3<3

Jump to Line
Something went wrong with that request. Please try again.