Replace create_from_file with empty blob if HB_NO_OPEN is defined

pull/1793/head
Ebrahim Byagowi 5 years ago committed by Behdad Esfahbod
parent ccf1448238
commit bb4cdf8e0b
  1. 4
      src/main.cc
  2. 4
      src/test-buffer-serialize.cc
  3. 4
      src/test-gpos-size-params.cc
  4. 4
      src/test-gsub-would-substitute.cc
  5. 4
      src/test-ot-color.cc
  6. 4
      src/test-ot-name.cc
  7. 4
      src/test.cc

@ -38,6 +38,10 @@
using namespace OT;
#ifdef HB_NO_OPEN
#define hb_blob_create_from_file(x) hb_blob_get_empty ()
#endif
int
main (int argc, char **argv)
{

@ -34,6 +34,10 @@
#include <stdio.h>
#ifdef HB_NO_OPEN
#define hb_blob_create_from_file(x) hb_blob_get_empty ()
#endif
int
main (int argc, char **argv)
{

@ -31,6 +31,10 @@
#include <stdio.h>
#ifdef HB_NO_OPEN
#define hb_blob_create_from_file(x) hb_blob_get_empty ()
#endif
int
main (int argc, char **argv)
{

@ -35,6 +35,10 @@
#include "hb-ft.h"
#endif
#ifdef HB_NO_OPEN
#define hb_blob_create_from_file(x) hb_blob_get_empty ()
#endif
int
main (int argc, char **argv)
{

@ -27,6 +27,10 @@
#include <cairo.h>
#ifdef HB_NO_OPEN
#define hb_blob_create_from_file(x) hb_blob_get_empty ()
#endif
#if !defined(HB_NO_COLOR) && defined(CAIRO_HAS_SVG_SURFACE)
#include "hb-ot.h"

@ -30,6 +30,10 @@
#include <stdlib.h>
#include <stdio.h>
#ifdef HB_NO_OPEN
#define hb_blob_create_from_file(x) hb_blob_get_empty ()
#endif
int
main (int argc, char **argv)
{

@ -34,6 +34,10 @@
#include "hb-ft.h"
#endif
#ifdef HB_NO_OPEN
#define hb_blob_create_from_file(x) hb_blob_get_empty ()
#endif
int
main (int argc, char **argv)
{

Loading…
Cancel
Save