| 42 /*@{*/ |
42 /*@{*/ |
| 43 |
43 |
| 44 /** |
44 /** |
| 45 * Registers a signal in an instance. |
45 * Registers a signal in an instance. |
| 46 * |
46 * |
| 47 * @param instance The instance to register the signal for. |
47 * @param instance The instance to register the signal for. |
| 48 * @param signal The signal name. |
48 * @param signal The signal name. |
| 49 * @param marshal The marshal function. |
49 * @param marshal The marshal function. |
| 50 * @param ret_value The return value type, or NULL for no return value. |
50 * @param ret_value The return value type, or NULL for no return value. |
| 51 * @param num_types The number of values to be passed to the callbacks. |
51 * @param num_values The number of values to be passed to the callbacks. |
| 52 * @param ... The values to pass to the callbacks. |
52 * @param ... The values to pass to the callbacks. |
| 53 * |
53 * |
| 54 * @return The signal ID local to that instance, or 0 if the signal |
54 * @return The signal ID local to that instance, or 0 if the signal |
| 55 * couldn't be registered. |
55 * couldn't be registered. |
| 56 * |
56 * |
| 57 * @see GaimValue |
57 * @see GaimValue |
| 78 /** |
78 /** |
| 79 * Returns a list of value types used for a signal. |
79 * Returns a list of value types used for a signal. |
| 80 * |
80 * |
| 81 * @param instance The instance the signal is registered to. |
81 * @param instance The instance the signal is registered to. |
| 82 * @param signal The signal. |
82 * @param signal The signal. |
| |
83 * @param ret_value The return value from the last signal handler. |
| 83 * @param num_values The returned number of values. |
84 * @param num_values The returned number of values. |
| 84 * @param values The returned list of values. |
85 * @param values The returned list of values. |
| 85 */ |
86 */ |
| 86 void gaim_signal_get_values(void *instance, const char *signal, |
87 void gaim_signal_get_values(void *instance, const char *signal, |
| 87 GaimValue **ret_value, |
88 GaimValue **ret_value, |