Esempio n. 1
0
static void
_init_data_with_data(gpointer fixture, gconstpointer user_data)
{
    GeneratorData *data = fixture;
    _init_data(fixture, user_data);

    eventd_event_add_data_string(data->event, g_strdup(EVENTD_EVENT_TEST_DATA_ESCAPING_NAME), g_strdup(EVENTD_EVENT_TEST_DATA_ESCAPING_CONTENT));
}
Esempio n. 2
0
void Reset_Handler(void) {
    /* copy the data segment into ram */
    _init_data();
    /* inits system - mainly clocks */
    /* for more infos: libs/CMSIS/CM3/DeviceSupport/ST/STM3/STM32F10x/system_stm32f10x.c */
    SystemInit();
    /* call main() as starting point for user code */
    main();
}