]> git.saurik.com Git - apple/dyld.git/blob - testing/kernel-cache-tests/auxkc-pageablekc-vtable-patching-namespaces/foo1.cpp
dyld-851.27.tar.gz
[apple/dyld.git] / testing / kernel-cache-tests / auxkc-pageablekc-vtable-patching-namespaces / foo1.cpp
1
2 #include "foo1.h"
3
4 using namespace X;
5
6 OSDefineMetaClassAndStructors( Foo1, KernelClass )
7
8 // Index 0 has been replaced with a method
9 OSMetaClassDefineReservedUsed(Foo1, 0)
10 // Index 1 has been replaced with a method
11 OSMetaClassDefineReservedUsed( Foo1, 1 )
12
13 OSMetaClassDefineReservedUnused( Foo1, 2 )
14 OSMetaClassDefineReservedUnused( Foo1, 3 )
15
16 int Foo1::foo() {
17 return 0;
18 }
19
20 int Foo1::foo1Used0() {
21 return 0;
22 }
23
24 int Foo1::foo1Used1() {
25 return 0;
26 }