• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

achakravarti / argent / 420 / 1
0%
master: 0%

Build:
DEFAULT BRANCH: master
Ran 22 Apr 2021 03:31AM UTC
Files 66
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Apr 2021 03:27AM UTC coverage: 90.451%. Remained the same
420.1

push

travis-ci-com

achakravarti
Add JSON method to object interface

Every object now supports a method to return the JSON representation of
itself through ag_object_json(). Additionally, a major improvement has
been made to the object interface. The AG_OBJECT_DECLARE() and
AG_OBJECT_DEFINE() macros have been redefined to further reduce the
amount of plumbing code. Furthermore, the object interface now only
requires those object methods which need to be overridden to be defined.
The macros which help to do this are:
  - AG_OBJECT_DEFINE_CLONE()
  - AG_OBJECT_DEFINE_RELEASE()
  - AG_OBJECT_DEFINE_CMP()
  - AG_OBJECT_DEFINE_VALID()
  - AG_OBJECT_DEFINE_SZ()
  - AG_OBJECT_DEFINE_LEN()
  - AG_OBJECT_DEFINE_HASH()
  - AG_OBJECT_DEFINE_STR()
  - AG_OBJECT_DEFINE_JSON()

The layout of the code has also been improved, with the source files now
organised into logical sub-directories. An advantage of this layout has
been that the include/ sub-directory is no longer required.

This commit has been rebased from the issue/76/json-method branch.

Signed-off-by: Abhishek Chakravarti <abhishek@taranjali.org>

3969 of 4388 relevant lines covered (90.45%)

475.64 hits per line

Source Files on job 420.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 161
  • Travis Job 420.1
  • bd26595a on github
  • Prev Job for on master (#419.1)
  • Next Job for on master (#456.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc