Use ".rktc" for the C-generated foreign file.
This commit is contained in:
parent
fcedc30ee4
commit
285e9b5279
|
@ -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"))
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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>
|
|
@ -1,4 +1,4 @@
|
|||
;; Preprocessor utilities for the .ssc file.
|
||||
;; Preprocessor utilities for the .rktc file.
|
||||
|
||||
#lang at-exp scheme/base
|
||||
|
Loading…
Reference in New Issue
Block a user