#include <pony/pony.h>
#include "encore.h"

encore_actor_t *encore_create(encore_actor_t *type)
{
  return pony_create(type);
}

/// Allocate s bytes of memory, zeroed out
void *encore_alloc(size_t *s)
{
  void *mem = pony_alloc(s);
  memset(mem, 0, s);

  return mem;
}

/// The starting point of all Encore programs
int encore_start(int argc, char** argv, encore_actor_t *type)
{
  argc = pony_init(argc, argv);
  pony_actor_t* actor = encore_create(type);
  pony_sendargs(actor, _ENC__MSG_MAIN, argc, argv);

  return pony_start(PONY_DONT_WAIT);
}


#include <pony/pony.h>
#include "encore.h"

encore_actor_t *encore_create(encore_create_t *type)
{
  return pony_create(type);
}

/// Allocate s bytes of memory, zeroed out
void *encore_alloc(size_t *s)
{
  void *mem = pony_alloc(s);
  memset(mem, 0, s);

  return mem;
}

/// The starting point of all Encore programs
int encore_start(int argc, char** argv, encore_actor_t *type)
{
  argc = pony_init(argc, argv);
  pony_actor_t* actor = encore_create(type);
  pony_sendargs(actor, _ENC__MSG_MAIN, argc, argv);

  return pony_start(PONY_DONT_WAIT);
}


--- 
+++ 
@@ -1,7 +1,7 @@
 #include <pony/pony.h>
 #include "encore.h"
 
-encore_actor_t *encore_create(encore_create_t *type)
+encore_actor_t *encore_create(encore_actor_t *type)
 {
   return pony_create(type);
 }
Fix also applied to corresponding C file
