* Don't use int32 in sources to be compiled for the build platform
(Daniel Furrer). * The strace interface for the generated file changed. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11495 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
9c1ea6d36e
commit
50ff751805
@ -256,7 +256,7 @@ public:
|
||||
<< "(void)syscall;" << endl
|
||||
<< "(void)handler;" << endl;
|
||||
|
||||
int32 chunkSize = (fSyscallCount + 19) / 20;
|
||||
int chunkSize = (fSyscallCount + 19) / 20;
|
||||
|
||||
// iterate through the syscalls
|
||||
for (int i = 0; i < fSyscallCount; i++) {
|
||||
@ -276,8 +276,8 @@ public:
|
||||
file << "\t// " << syscall.name << endl;
|
||||
|
||||
// create the return type handler
|
||||
file << "\thandler = new TypeHandlerImpl<" << syscall.return_type
|
||||
<< ">();" << endl;
|
||||
file << "\thandler = TypeHandlerFactory<" << syscall.return_type
|
||||
<< ">::Create();" << endl;
|
||||
|
||||
// create the syscall
|
||||
file << "\tsyscall = new Syscall(\"" << syscall.name << "\", "
|
||||
@ -285,13 +285,13 @@ public:
|
||||
file << "\tsyscalls.push_back(syscall);" << endl;
|
||||
|
||||
// add the parameters
|
||||
for (int32 k = 0; k < syscall.parameter_count; k++) {
|
||||
for (int k = 0; k < syscall.parameter_count; k++) {
|
||||
const gensyscall_parameter_info ¶meter
|
||||
= syscall.parameters[k];
|
||||
|
||||
// create the parameter type handler
|
||||
file << "\thandler = new TypeHandlerImpl<"
|
||||
<< parameter.type << ">();" << endl;
|
||||
file << "\thandler = TypeHandlerFactory<"
|
||||
<< parameter.type << ">::Create();" << endl;
|
||||
|
||||
// add the parameter
|
||||
file << "\tsyscall->AddParameter(\"" << parameter.name << "\", "
|
||||
|
Loading…
Reference in New Issue
Block a user