Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Revision a3a296fddafeefd5bfa7dfd95e04ec3d62ea00e2 authored by Ben Hermans on 16 March 2020, 16:11:21 UTC, committed by Ben Hermans on 16 March 2020, 16:11:21 UTC
Row delete and row_add corrections for l32
1 parent fe5f1c0
  • Files
  • Changes
  • c26a4f2
  • /
  • include
  • /
  • constants.h
Raw File Download
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • revision
  • directory
  • content
revision badge
swh:1:rev:a3a296fddafeefd5bfa7dfd95e04ec3d62ea00e2
directory badge Iframe embedding
swh:1:dir:4bc51dc440d54d3d0f47828061be6ef1300f3f68
content badge Iframe embedding
swh:1:cnt:60e440aa341a11aaeee5f5b6bfd3decf9e53bbe5
Citations

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • revision
  • directory
  • content
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
constants.h
#ifndef LADEL_CONSTANTS_H
#define LADEL_CONSTANTS_H

#define TRUE 1
#define FALSE 0

#define SUCCESS 1
#define FAIL -1

#define NONE -1

#define UNSYMMETRIC 0
#define UPPER 1 /**< Use only upper part of matrix*/
#define LOWER -1 /**< Use only lower part of matrix*/

#define AMD 1
#define NO_ORDERING 0
#define GIVEN_ORDERING 2

#define IS_ROOT(col, etree) ((etree)[(col)] == NONE)

#define MARKED 1
#define UNMARKED 0
#define MARK(nodes, k) (nodes[(k)] = MARKED)
#define UNMARK(nodes, k) (nodes[(k)] = UNMARKED)
#define IS_MARKED(nodes, k) (nodes[(k)] == MARKED)

#define SET_HAS_CHANGED TRUE
#define SET_HAS_NOT_CHANGED FALSE
#define MAX_SET_SIZE_EXCEEDED NONE

#define UPDATE TRUE
#define DOWNDATE FALSE

#endif /*LADEL_CONSTANTS_H*/
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

back to top

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Contact— JavaScript license information— Web API