forked from creationix/node-gir
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Lines 70 to 75 in 109efbd
| GIRInfoUniquePtr GIRClosure::find_signal_callable_info(guint signal_id, char *signal_name) { | |
| // given a signal ID we want to find the GICallableInfo metadata so that | |
| // we can know the param types & return types when marshalling data between | |
| // the native callback and the JS callback. | |
| // Note: this can return nullptr when the signal doesn't have a registered | |
| // GICallableInfo. This happens notably for `notify::<property>` signals. |
Here, wouldn't it be better to just use the part before :: to find the signal name?
E.g. if passed notify::label, just look for the signal called notify?
Metadata
Metadata
Assignees
Labels
No labels