~pybind/pyswfdec/trunk

« back to all changes in this revision

Viewing changes to swfdec.override

  • Committer: Gian Mario Tagliaretti
  • Date: 2008-05-08 16:08:45 UTC
  • Revision ID: gianmt@urano-20080508160845-bptdgfyut8atkwfk
Quicly fix a dumb bug introduced just before the release

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
}
45
45
#endif /* SWFDEC_TYPE_SCRIPT */
46
46
 
 
47
/* A boxed type for SwfdecAsValue until one gets into swfdec itself. */
 
48
#ifndef SWFDEC_TYPE_AS_VALUE
 
49
void swfdec_as_value_ref ()
 
50
{
 
51
    g_message ("dumb funcion");
 
52
}
 
53
 
 
54
void swfdec_as_value_unref ()
 
55
{
 
56
    g_message ("dumb funcion");
 
57
}
 
58
 
 
59
GType
 
60
pyswfdec_as_value_get_type (void)
 
61
{
 
62
 static GType type;
 
63
 if (G_UNLIKELY (!type))
 
64
   type = g_boxed_type_register_static ("SwfdecAsValue",
 
65
                                        (GBoxedCopyFunc) swfdec_as_value_ref,
 
66
                                        (GBoxedFreeFunc) swfdec_as_value_unref);
 
67
 return type;
 
68
}
 
69
#endif /* SWFDEC_TYPE_AS_VALUE */
 
70
 
47
71
extern Pycairo_CAPI_t *Pycairo_CAPI;
48
72
 
49
73
%%