Jump to content


Meet Sony Xperia XZ Premium:


Photo

What does "@" do in HelloWorld.elf please?


  • Please log in to reply
2 replies to this topic

#1 OFFLINE   kubaf

kubaf

    Freshly registered FAQ reader

  • User
  • 2 posts
    • Time Online: 31m
  • Country | Страна | Kraj:
  • Operator | Oператор:
    T-Mobile

Posted 12 February 2012 - 10:53

Hello, i am programming my elf and dont know what does that @ do in this usage:

const PAGE_MSG HW_PageEvents[]@ "DYN_PAGE" ={
ELF_TERMINATE_EVENT , TerminateElf,
ELF_SHOW_INFO_EVENT , ShowAuthorInfo,
0,0
};

I also think the "DYN_PAGE" is connected to that, as it doesnt belong there normally.

I cant find any info about it being used in C language like this. I even opened a

Please Login or Register to see this Hidden Content

for that ;)

Please give me something to google at least :) thank you
  • 0

#2 ONLINE   Jurij

Jurij

    Emperror of Sony Kingdom

  • Administrator
  • 11897 posts
    • Time Online: 551d 6h 1m
  • Chat with me
  • GG:
  • Country | Страна | Kraj:
  • Operator | Oператор:
    Orange

Posted 12 February 2012 - 12:30

Check out this thread: http://sony.yt/index...em-krotki-opis/ - there is an example of using it. There is also solution how to avoid running one elf several times. I hope it will be helpful for you ;)
  • 0
Serwis Sony Ericsson Online | Online Sony Ericsson Service | Ремонт Sony Ericsson Oнлайн

Xperia.jpg

Więcej informacji, Cennik | More information, Price list GG: 1793684 Skype: gen.jurij

Other services: LG, HTC, Samsung, Alcatel, Blackberry, Huawei, ZTE, Motorola, Sharp unlock and more...

#3 OFFLINE   kubaf

kubaf

    Freshly registered FAQ reader

  • User
  • 2 posts
    • Time Online: 31m
  • Country | Страна | Kraj:
  • Operator | Oператор:
    T-Mobile

Posted 10 March 2012 - 02:28

That link only shows the source this is included in, i dont need another (identical) example, i wanted an explanation of what it does, because i didnt meet it in C language and people say its not standard..

Seems to me everybody just copies it and nobody knows how exactly it works :D Ill have to settle with guessing it magically handles the elf events then..

Edited by kubaf, 10 March 2012 - 02:32.

  • 0


0 user(s) are reading this topic