Gamestudio Links
Zorro Links
Newest Posts
SGT_FW
by Aku_Aku. 11/30/26 08:19
Removing outliers from files
by JeyKey II. 11/29/26 10:01
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
6 registered members (TipmyPip, AndrewAMD, EW_bytes, JeyKey II, krishna, rht), 12,557 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Translation Question #133029
06/01/07 12:12
06/01/07 12:12
Joined: Aug 2004
Posts: 176
Germany
Team_GamesArk Offline OP
Member
Team_GamesArk  Offline OP
Member

Joined: Aug 2004
Posts: 176
Germany
Hi,


what is the usage for this in LiteC ?
typedef int (*sqlite_callback)(void*,int,char**, char**);

If i use it so, i have a syntax error.

Thanks for the help

Frank

Re: Translation Question [Re: Team_GamesArk] #133030
06/01/07 12:57
06/01/07 12:57
Joined: Jul 2000
Posts: 28,149
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,149
Frankfurt
Yes; function pointers are defined differently in lite-C. Especially they can't be typedef'd.

int sqlite_callback(void*,int,char**, char**);

is a function prototype and function pointer at the same time.

http://manual.conitec.net/litec_c.htm

Re: Translation Question [Re: jcl] #133031
06/03/07 16:19
06/03/07 16:19
Joined: Aug 2004
Posts: 176
Germany
Team_GamesArk Offline OP
Member
Team_GamesArk  Offline OP
Member

Joined: Aug 2004
Posts: 176
Germany
First Thanks JCL!

But i have another translation question for this peace of code:

void *sqlite3_trace(sqlite3*, void(*xTrace)(void*,const char*), void*);

how must i convert this (the second entry - void...) ?

JCL can you help me again?

Thanks

Frank

Last edited by Team_GamesArk; 06/04/07 11:14.
Re: Translation Question [Re: jcl] #133032
06/04/07 17:45
06/04/07 17:45
Joined: Aug 2004
Posts: 176
Germany
Team_GamesArk Offline OP
Member
Team_GamesArk  Offline OP
Member

Joined: Aug 2004
Posts: 176
Germany
can no one help me with this problem?

Frank


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1