PtokaX forum

Development Section => LUA & PtokaX-Scripting-Interface => Topic started by: Herodes on 04 March, 2006, 17:06:38

Title: Suggestion for simplifying the API
Post by: Herodes on 04 March, 2006, 17:06:38
Why do we need to have two functions like
frmHub:Get<SettingName>();
frmHub:Set<SettingName>( value );

where it could be just
fmrHub:SettingName( [value] )
?

Does it make Ptx work faster or simply to make it all look pragmatic ?
Title: Re: Suggestion for simplifying the API
Post by: bastya_elvtars on 04 March, 2006, 17:11:57
Already requested, has been rejected cause it would slow the C part down. I was not strong enough to convince PPK.  :-[
Title: Re: Suggestion for simplifying the API
Post by: Herodes on 04 March, 2006, 17:15:13
Quote from: bastya_elvtars on 04 March, 2006, 17:11:57
Already requested, has been rejected cause it would slow the C part down. I was not strong enough to convince PPK.  :-[
Can you recall the title of the thread that you requested it ?
Title: Re: Suggestion for simplifying the API
Post by: bastya_elvtars on 04 March, 2006, 20:06:48
I requested it through IM, as far as I can remember.