Jump to content


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


  • Please log in to reply
2 replies to this topic

#1 OFFLINE   kubaf

kubaf
  • User
  • 2 posts
    • Time Online: 31m
  • Kraj::
  • Operator: 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 HERE or Register HERE to see this link!

for that ;)

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

#2 OFFLINE   Jurij

Jurij
  • Banned
  • 8,493 posts
  • Kraj::
  • Operator: Orange GO

Posted 12 February 2012 - 12:30

Check out this thread: http://www.sonyerics...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 ;)

#3 OFFLINE   kubaf

kubaf
  • Autor tematu
  • User
  • 2 posts
    • Time Online: 31m
  • Kraj::
  • Operator: 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 user(s) are reading this topic