[teklib-general] A question about "TInitVectors"

Chunlin Zhang zhangchunlin at gmail.com
Fri Dec 18 16:13:57 CET 2009


I am reading code of teklib,and found some codes I can not understand:

"
TLIBAPI void TInitVectors(struct TModule *mod, const TMFPTR *vectors,
	TUINT numv)
"

in "TInitVectors" it just copy each of vector item to mod,but why copy
to  "struct TModule" ?
Could it be that when using "mod" it will be change to "TMFPTR *" to
use,not "struct TModule" ,is it?

And another question,is it possible to port teklib to a operating
system which have not POSIX API.I want to port teklib to a feature
phone platform,which even have not full C runtime lib support(it have
its own memory/filesystem api),is it possible?
If possible,can I get a guideline of how to do that?

Thanks!


More information about the teklib-general mailing list