Skip to content
This repository has been archived by the owner on Aug 28, 2020. It is now read-only.

Latest commit

 

History

History
27 lines (17 loc) · 447 Bytes

C_CODING_STYLE.rdoc

File metadata and controls

27 lines (17 loc) · 447 Bytes

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

FUNCTION DECLARATION:

ANSI C style:

type name(args)
{
  declarations

  code
}

SOURCES:

  • <3<3<3