Use ".rktc" for the C-generated foreign file.

This commit is contained in:
Eli Barzilay 2010-05-17 01:48:39 -04:00
parent fcedc30ee4
commit 285e9b5279
4 changed files with 6 additions and 6 deletions

View File

@ -386,7 +386,7 @@ mr-src := (src: "gracket/" "mred/" "wxcommon/"
"worksp/{png|wxme|wxs|wxutils|wxwin|zlib}/"))
foreign-src := (src: "foreign/{Makefile.in|README}"
"foreign/{foreign.*|ssc-utils.rkt}"
"foreign/{foreign.*|rktc-utils.rkt}"
(cond win => "foreign/libffi_msvc"
else => "foreign/gcc"))

View File

@ -1,6 +1,6 @@
/********************************************
** Do not edit this file!
** This file is generated from foreign.ssc,
** This file is generated from foreign.rktc,
** to make changes, edit that file and
** run it to generate an updated version
** of this file.

View File

@ -1,13 +1,13 @@
#!/bin/sh
#| -*- C -*-
exec racket "$0" > `echo "$0" | sed 's/ssc$/c/'` "$0"
exec racket "$0" > `echo "$0" | sed 's/rktc$/c/'` "$0"
|#
#lang scribble/text
@(require "ssc-utils.ss")
@(require "rktc-utils.ss")
@header{foreign.ssc}
@header{foreign.rktc}
#include "schpriv.h"
#include <errno.h>

View File

@ -1,4 +1,4 @@
;; Preprocessor utilities for the .ssc file.
;; Preprocessor utilities for the .rktc file.
#lang at-exp scheme/base