Skip to content

Instantly share code, notes, and snippets.

#include <assert.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
typedef struct node {
int key;
int val;
struct node *next;

Has field live template, suggested name: hf

public boolean has$SET_NAME$() {
  return hasFieldSet("$SET_NAME$");
}

PresenceTrackingSetter Template,

#set($paramName = $helper.getParamName($field, $project))
// In a directory, run "npm install harfbuzzjs" to install harfbuzzjs
// then "node main.js" to run this example
var fs = require('fs');
var path = require('path');
function example(hb, fontBlob, text) {
var blob = hb.createBlob(fontBlob);
var face = hb.createFace(blob, 0);
// console.log(face.getAxisInfos());