Skip to content
Snippets Groups Projects
Commit 338c946c authored by Lars Kanis's avatar Lars Kanis
Browse files

We don't need defaultctor generation, but for FXChore and FXTimer we explicit...

We don't need defaultctor generation, but for FXChore and FXTimer we explicit can not use defaultctor generation, because these types are only usable as a pointer.
parent 8b395e2b
No related branches found
No related tags found
No related merge requests found
......@@ -420,6 +420,7 @@ inline void* to_FXEvent(VALUE obj){
/* Output typemap for FXChore instances */
%typemap(out) FXChore* "$result = FXRbGetRubyObj($1, \"$1_ltype\");";
%nodefaultctor FXChore;
/* Output typemap for FXComposite instances */
%typemap(out) FXComposite * = FXObject *;
......@@ -591,6 +592,7 @@ inline void* to_FXEvent(VALUE obj){
/* Output typemap for FXTimer instances */
%typemap(out) FXTimer* "$result = FXRbGetRubyObj($1, \"$1_ltype\");";
%nodefaultctor FXTimer;
/* Output typemap for FXTreeItem instances */
%typemap(out) FXTreeItem * = FXObject *;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment