Changeset 120 for trunk/infrastructure/pyd/func_wrap.d
- Timestamp:
- 07/26/07 20:06:38 (5 years ago)
- Files:
-
- trunk/infrastructure/pyd/func_wrap.d (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/infrastructure/pyd/func_wrap.d
r113 r120 59 59 } 60 60 61 void setWrongArgsError(int gotArgs, uint minArgs, uint maxArgs, char[]funcName="") {61 void setWrongArgsError(int gotArgs, uint minArgs, uint maxArgs, string funcName="") { 62 62 char[] str; 63 63 if (funcName == "") { … … 238 238 return null; 239 239 } 240 fn_to_dg!(fn_t) dg = dg_wrapper!(C, fn_t)(instance, &real_fn);240 fn_to_dg!(fn_t) dg = dg_wrapper!(C, fn_t)(instance, cast(fn_t)&real_fn); 241 241 return pyApplyToDelegate(dg, args); 242 242 });
