//FIXME should not be exposed to the user of the language binding, //FIXME but rather used to implement memory management within the language binding // cairo_public unsigned int // cairo_font_face_get_reference_count (cairo_font_face_t *font_face); static int l_cairo_font_face_get_reference_count(lua_State* L) { cairo_font_face_t *font_face = get_cairo_font_face_t (L, 1); unsigned int v = cairo_font_face_get_reference_count (font_face); lua_pushnumber(L, v); return 1; }
int lime_cairo_font_face_get_reference_count (double handle) { return cairo_font_face_get_reference_count ((cairo_font_face_t*)(intptr_t)handle); }