File: seed-cairo.h

package info (click to toggle)
seed 3.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 5,900 kB
  • sloc: ansic: 24,336; sh: 11,196; makefile: 773; xml: 187; python: 173
file content (13 lines) | stat: -rw-r--r-- 379 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _SEED_CAIRO_H
#define _SEED_CAIRO_H
#include <seed.h>
#include <cairo/cairo.h>

#define EXPECTED_EXCEPTION(name, argnum)				\
  seed_make_exception (ctx, exception, "ArgumentError", name " expected " argnum " got %Zd", argument_count); \
  return seed_make_undefined (ctx);

cairo_user_data_key_t *seed_get_cairo_key ();
void seed_cairo_destroy_func (void *obj);

#endif