Gamestudio Links
Zorro Links
Newest Posts
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 01/07/26 15:14
Zorro locks DLL
by jcl. 01/07/26 13:33
zorro with ccxt?
by qin. 01/07/26 07:50
The new evaluation system
by jcl. 01/05/26 08:50
bar time, right side open or close?
by Spirit. 01/03/26 08:10
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (Grant, AndrewAMD, 1 invisible), 3,762 guests, and 12 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Syndrela, HDRSEO, AOUNZA, digitalboy381, agasior
19190 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,050
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,050
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