Socket
Book a DemoInstallSign in
Socket

@smallstoneapps/linked-list

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smallstoneapps/linked-list

Pebble library for doing linked lists

1.4.0
latest
Source
npmnpm
Version published
Weekly downloads
10
-65.52%
Maintainers
1
Weekly downloads
 
Created
Source

Linked List Build Status npm (scoped) MIT License

A simple linked list implementation for Pebble apps and watchfaces.

Installation

You must be using Pebble SDK 3.12 or newer to use this library.

To install the package to your app, use the pebble tool:

pebble package install @smallstoneapps/linked-list

Usage

// This is not a complete example, but should demonstrate the basic usage of
// the Linked List library.

#include <@smallstoneapps/linked-list/linked-list.h>

LinkedRoot* root;

static void init(void) {
  root = linked_list_create_root();
  linked_list_append(root, data);
  printf("%d", linked_list_count(root));
}

static void deinit(void) {
  linked_list_clear(root);
  destroy(root);
}

Tests

Unit tests for Data Processor exist in the tests folder.

To run the tests:

make test

Keywords

pebble-package

FAQs

Package last updated on 18 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.