Added ActiveEvent to Build.PL
Kartik Thakore [Thu, 5 Nov 2009 17:23:14 +0000 (12:23 -0500)]
Build.PL
scripts/MultiThreadPOC.pl

index c9c2284..a6dfd32 100644 (file)
--- a/Build.PL
+++ b/Build.PL
@@ -49,6 +49,13 @@ my %subsystems =
                },
                libraries => [qw( SDL )],
        },
+       ActiveEvent => {
+               file      => {
+                       from  => 'src/Core/objects/ActiveEvent.xs',
+                       to    => 'lib/SDL/ActiveEvent.xs',
+               },
+               libraries => [qw( SDL )],
+       },
        MultiThread => {
                file      => {
                        from  => 'src/Core/MultiThread.xs',
index 8c46eaa..d37edbc 100644 (file)
@@ -6,7 +6,7 @@ my $fp = get_function_pointer();
 print '[Perl] In perl we got :'.$fp."\n";
 print '[Perl] Making Thread.';
 
-make_thread( $fp, 'I AM THE OVERLOARD XENU!!!');
+make_thread( get_function_pointer() , 'I AM THE OVERLOARD XENU!!!');
 
 __END__    
 __C__