loader.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* Copyright (C) 2001, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Free Software Foundation, Inc.
  2. *
  3. * This library is free software; you can redistribute it and/or
  4. * modify it under the terms of the GNU Lesser General Public License
  5. * as published by the Free Software Foundation; either version 3 of
  6. * the License, or (at your option) any later version.
  7. *
  8. * This library is distributed in the hope that it will be useful, but
  9. * WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  11. * Lesser General Public License for more details.
  12. *
  13. * You should have received a copy of the GNU Lesser General Public
  14. * License along with this library; if not, write to the Free Software
  15. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  16. * 02110-1301 USA
  17. */
  18. #ifndef _SCM_LOADER_H_
  19. #define _SCM_LOADER_H_
  20. #include <libguile.h>
  21. SCM_API SCM scm_load_thunk_from_file (SCM filename);
  22. SCM_API SCM scm_load_thunk_from_memory (SCM bv);
  23. SCM_INTERNAL const scm_t_uint8 *
  24. scm_find_slot_map_unlocked (const scm_t_uint32 *ip);
  25. SCM_INTERNAL void scm_bootstrap_loader (void);
  26. SCM_INTERNAL void scm_init_loader (void);
  27. #endif /* _SCM_LOADER_H_ */
  28. /*
  29. Local Variables:
  30. c-file-style: "gnu"
  31. End:
  32. */