Targets.cpp 297 B

1234567891011121314151617181920
  1. #include "X86Target.h"
  2. #include "BeefySysLib/util/AllocDebug.h"
  3. USING_NS_BF;
  4. BF_EXPORT void BF_CALLTYPE Targets_Create()
  5. {
  6. #ifndef __linux__
  7. gX86Target = new X86Target();
  8. #endif
  9. }
  10. BF_EXPORT void BF_CALLTYPE Targets_Delete()
  11. {
  12. #ifndef __linux__
  13. delete gX86Target;
  14. gX86Target = NULL;
  15. #endif
  16. }