Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dogtags $PBOPREFIX$ and Improve function headers #4221

Merged
merged 1 commit into from
Aug 8, 2016

Conversation

jonpas
Copy link
Member

@jonpas jonpas commented Aug 8, 2016

When merged this pull request will:

  • Add $PBOPREFIX$
  • Improve function headers with examples
  • Use QQGVAR macro instead of QUOTE(QGVAR())
  • Add @esteldunedain do maintainers
  • Update CfgPatches with new author stuff
  • Add beautified component name

How was that missed... you know who you are...

@jonpas jonpas added kind/enhancement Release Notes: **IMPROVED:** kind/bug-fix Release Notes: **FIXED:** kind/documentation labels Aug 8, 2016
@jonpas jonpas added this to the 3.7.0 milestone Aug 8, 2016
@nicolasbadano nicolasbadano merged commit 02794a9 into master Aug 8, 2016
@nicolasbadano nicolasbadano deleted the dogtagsPboPrefix branch August 8, 2016 23:48
@nicolasbadano
Copy link
Contributor

nicolasbadano commented Aug 8, 2016

Thanks!

@@ -4,8 +4,8 @@ class RscStructuredText;
class RscTitles {
class GVAR(singleTag) {
idd = -1;
onLoad = QUOTE(uiNamespace setVariable [ARR_2(QUOTE(QGVAR(tag)),_this select 0)]);
onUnload = QUOTE(uiNamespace setVariable [ARR_2(QUOTE(QGVAR(tag)),nil)]);
onLoad = QUOTE(uiNamespace setVariable [ARR_2(QQGVAR(tag),_this select 0)]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

about this. you could've also wrote:
onLoad = QUOTE(uiNamespace setVariable [ARR_2('GVAR(tag)',_this select 0)]);

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor difference, QQ keeps highlighting nice though.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could also have wrote:

onLoad = QUOTE(SETUVAR(QGVAR(tag),_this select 0));

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't write the original code (runs away)! Although I dislike those set/getVariable macros.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug-fix Release Notes: **FIXED:** kind/documentation kind/enhancement Release Notes: **IMPROVED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants