search for: name_full

Displaying 2 results from an estimated 2 matches for "name_full".

2007 Oct 23
0
9 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_style_sheet.c libswfdec/swfdec_style_sheet.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h
...; + + return NULL; +} + +SwfdecTextFormat * +swfdec_style_sheet_get_tag_format (SwfdecStyleSheet *style, const char *name) +{ + return swfdec_style_sheet_get_format (style, name); +} + +SwfdecTextFormat * +swfdec_style_sheet_get_class_format (SwfdecStyleSheet *style, const char *name) +{ + char *name_full; + + g_return_val_if_fail (SWFDEC_IS_STYLESHEET (style), NULL); + g_return_val_if_fail (name != NULL, NULL); + + name_full = g_malloc (1 + strlen (name) + 1); + name_full[0] = '.'; + memcpy (name_full + 1, name, strlen (name) + 1); + + return swfdec_style_sheet_get_format (style, swfd...
2006 Aug 02
1
ActiveRecord: find_or_create with has_and_belongs_to_many --
...ROM term INNER JOIN school_term ON term.id = school_term.term_id WHERE (school_term.school_id = 1 ) AND (term.`code` = ''FALL06'' ) LIMIT 1 but the INSERT behavior does not include a join table insert if the SELECT does not find an appropriate record: INSERT INTO term (`code`, `name_full`, `name_common`, `date_end`, `date_start`) VALUES(''FALL06'', NULL, NULL, NULL, NULL) I have resolved this by changing my original code to implement a uniqueness check in ruby: term = school.terms.find_or_create_by_code("FALL06") school.terms << term unless school....