Advertisement
Forage

Untitled

Sep 16th, 2011
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. ERROR: Failed to parse method record_toggled from class definition:
  2. struct _GstMixerClass {GTypeInterface klass;GstMixerType mixer_type;const GList * (* list_tracks) (GstMixer *mixer);void (* set_volume) (GstMixer *mixer,GstMixerTrack *track,gint *volumes);void (* get_volume) (GstMixer *mixer,GstMixerTrack *track,gint *volumes);void (* set_mute) (GstMixer *mixer,GstMixerTrack *track,gboolean mute);void (* set_record) (GstMixer *mixer,GstMixerTrack *track,gboolean record);deprecated void (* mute_toggled) (GstMixer *mixer,deprecated GstMixerTrack *channel,deprecated gboolean mute);deprecated void (* record_toggled) (GstMixer *mixer,deprecated GstMixerTrack *channel,deprecated gboolean record);deprecated void (* volume_changed) (GstMixer *mixer,deprecated GstMixerTrack *channel,deprecated gint *volumes);deprecated gpointer padding1[3];void (* set_option) (GstMixer *mixer,GstMixerOptions *opts,gchar *value);const gchar * (* get_option) (GstMixer *mixer,GstMixerOptions *opts);deprecated void (* option_changed) (GstMixer *mixer,deprecated GstMixerOptions *opts,deprecated gchar *option);deprecated gpointer padding2;GstMixerFlags (* get_mixer_flags) (GstMixer *mixer);/*< private >*/gpointer _gst_reserved[GST_PADDING-1];}; at /home/forage/Projects/gstreamer-sharp/parser/gapi2xml.pl line 1127, <STDIN> line 1180.
  3.  
  4.  
  5. Regex in question is: if ($class =~ /;\s*(\/\*< (public|protected|private) >\s*\*\/)?(G_CONST_RETURN\s+)?(\w+\s*\**)\s*\(\s*\*\s*$method\s*\)\s*\((.*?)\);/) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement